Expand description
axum
integration for the http_request_validator
.
Structs§
- Plain
Display Error Renderer - A an error renderer that will simply.
- State
- The layer state.
Traits§
- Error
Handler - 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.
- Bufferer
Buffered - 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.
- Response
Future - A future that returns
Response
.