Skip to main content

Module axum

Module axum 

Source
Available on crate feature axum only.
Expand description

Custom implementation for axum integration

Structs§

ApiErrorResponse

Functions§

default_error_responder
The default ApiErrorResponder.
set_error_responder
Sets a custom ApiErrorResponder that will be used to convert ApiError to a Response.
try_set_error_responder
Tries to set a custom ApiErrorResponder that will be used to convert ApiError to a Response.

Type Aliases§

ApiErrorResponder
A function that converts an ApiError into an axum Response.