Expand description
Endpoint related types.
Structs
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_to_response
method.PrometheusExporter
prometheus
An endpoint that exports metrics for Prometheus.
StaticFileEndpoint
static-files
Single static file handling service.
StaticFilesEndpoint
static-files
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.
TowerCompatExt
tower-compat
Extension trait for tower service compat.
Functions
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.