Module handler

Expand description

async fn(...) as crate.

Structs§

ServiceFn
A ServiceFn is a Service implemented using a function.

Traits§

Factory
Async handler converter factory
FromContextRequest
Convert a context+request into a parameter for the ServiceFn handler function.

Functions§

service_fn
Create a ServiceFn from a function.