pub struct IncomingError(/* private fields */);Expand description
Internal error type for body stream items.
Trait Implementations§
Source§impl Debug for IncomingError
impl Debug for IncomingError
Source§impl Display for IncomingError
impl Display for IncomingError
Source§impl Error for IncomingError
impl Error for IncomingError
1.30.0 · 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<IncomingError> for RequestBodyError
impl From<IncomingError> for RequestBodyError
Source§fn from(e: IncomingError) -> Self
fn from(e: IncomingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IncomingError
impl RefUnwindSafe for IncomingError
impl Send for IncomingError
impl Sync for IncomingError
impl Unpin for IncomingError
impl UnsafeUnpin for IncomingError
impl UnwindSafe for IncomingError
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