pub struct StatusError(pub Response<Bytes>);
Tuple Fields§
§0: Response<Bytes>
Trait Implementations§
Source§impl Debug for StatusError
impl Debug for StatusError
Source§impl Display for StatusError
impl Display for StatusError
Source§impl Error for StatusError
impl Error for StatusError
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<C, B> From<StatusError> for Error<C, B>
impl<C, B> From<StatusError> for Error<C, B>
Source§fn from(source: StatusError) -> Self
fn from(source: StatusError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for StatusError
impl !RefUnwindSafe for StatusError
impl Send for StatusError
impl Sync for StatusError
impl Unpin for StatusError
impl !UnwindSafe for StatusError
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