Module handler
rama
0.2.0-alpha.8
Module handler
Module Items
Structs
Traits
Functions
In rama::
http::
dep::
core::
service
Modules
handler
Structs
BoxService
Traits
Service
Functions
service_fn
rama
::
http
::
dep
::
core
::
service
Module
handler
Copy item path
Settings
Help
Summary
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.