Struct axum::extract::rejection::UnknownBodyError
source · pub struct UnknownBodyError(/* private fields */);
Expand description
Encountered an unknown error when buffering the body.
Implementations§
Trait Implementations§
source§impl Debug for UnknownBodyError
impl Debug for UnknownBodyError
source§impl Display for UnknownBodyError
impl Display for UnknownBodyError
source§impl Error for UnknownBodyError
impl Error for UnknownBodyError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<UnknownBodyError> for FailedToBufferBody
impl From<UnknownBodyError> for FailedToBufferBody
source§fn from(inner: UnknownBodyError) -> FailedToBufferBody
fn from(inner: UnknownBodyError) -> FailedToBufferBody
Converts to this type from the input type.
source§impl IntoResponse for UnknownBodyError
impl IntoResponse for UnknownBodyError
source§fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>
fn into_response(self) -> Response<UnsyncBoxBody<Bytes, Error>>
Create a response.
Auto Trait Implementations§
impl Freeze for UnknownBodyError
impl !RefUnwindSafe for UnknownBodyError
impl Send for UnknownBodyError
impl Sync for UnknownBodyError
impl Unpin for UnknownBodyError
impl !UnwindSafe for UnknownBodyError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more