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<Body>
 
fn into_response(self) -> Response<Body>
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