pub enum EmptyDecodeError {
NotEmpty,
}
Expand description
Error decoding a body which should be empty.
Variants§
NotEmpty
Body is not empty.
Trait Implementations§
Source§impl Debug for EmptyDecodeError
impl Debug for EmptyDecodeError
Source§impl Display for EmptyDecodeError
impl Display for EmptyDecodeError
Source§impl Error for EmptyDecodeError
impl Error for EmptyDecodeError
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()
Auto Trait Implementations§
impl Freeze for EmptyDecodeError
impl RefUnwindSafe for EmptyDecodeError
impl Send for EmptyDecodeError
impl Sync for EmptyDecodeError
impl Unpin for EmptyDecodeError
impl UnwindSafe for EmptyDecodeError
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