rama
0.2.0-alpha.4
Module handler
Module Items
Structs
Traits
Functions
In rama::
service
rama
::
service
Module
handler
Copy item path
Expand description
async fn(...)
as [
crate
].
Structs
§
Service
Fn
A
ServiceFn
is a
Service
implemented using a function.
Traits
§
Factory
Async handler converter factory
From
Context
Request
Convert a context+request into a parameter for the
ServiceFn
handler function.
Functions
§
service_
fn
Create a
ServiceFn
from a function.