Expand description

Endpoint related types.

Structs

Endpoint for the after method.
Endpoint for the and_then method.
Endpoint for the around method.
Endpoint for the before method.
Endpoint for the catch_all_error method.
Endpoint for the catch_error method.
An endpoint that wraps a single file from a rust-embed bundle.
An endpoint that wraps a rust-embed bundle.
Endpoint for the inspect_all_err method.
Endpoint for the inspect_err method.
Endpoint for the map_ok method.
Endpoint for the map_to_response method.
An endpoint that exports metrics for Prometheus.
StaticFileEndpointstatic-files
Single static file handling service.
Static files handling service.
Endpoint for the to_response method.

Traits

An HTTP request handler.
Extension trait for Endpoint.
Represents a type that can convert into endpoint.
TowerCompatExttower-compat
Extension trait for tower service compat.

Functions

Create an endpoint with a asyncness function.
Create an endpoint with a function.

Type Definitions

An owned dynamically typed Endpoint for use in cases where you can’t statically type your result or need to add some indirection.