Crate axum_request_validator

Source
Expand description

axum integration for the http_request_validator.

Structs§

PlainDisplayErrorRenderer
A an error renderer that will simply.
State
The layer state.

Traits§

ErrorHandler
The error handler for the validation errors.

Functions§

middleware
axum middleware-fn implementation.
new
Create a new HTTP request validating layer.
validate
Validate the axum request.
with_error_handler
Create a new HTTP request validating layer with custom error handling.

Type Aliases§

Bufferer
The bufferer type used by axum.
BuffererBuffered
The bufferer buffered type used by axum.
Data
The bufferer and validator data type to use for axum.
Error
The axum-specific validation error type.
Extractors
The type alias for the extractors used in the layer.
Fn
The type alias for the fn used in the layer.
Layer
The layer type.
ResponseFuture
A future that returns Response.