Skip to main content

Module typed_bind

Module typed_bind 

Source
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§

HasReqType
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.