Struct axum::body::BoxStdError [−][src]
pub struct BoxStdError(_);
Expand description
A boxed error trait object that implements std::error::Error
.
This is necessary for compatibility with middleware that changes the error type of the response body.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BoxStdError
impl Send for BoxStdError
impl Sync for BoxStdError
impl Unpin for BoxStdError
impl !UnwindSafe for BoxStdError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
type Output = T
type Output = T
Should always be Self