Expand description
Bind functions for typed endpoint wrappers.
These create BoundHandlers that add runtime enforcement (validation,
content-type checking) on top of the type-level declarations.
Traits§
- HasReq
Type - Helper trait to extract the Req type from an endpoint.
Functions§
- bind_
content_ type - Bind a handler to a
ContentType<C, E>endpoint. - bind_
validated - Bind a handler to a
Validated<V, E>endpoint.