pub struct NonZeroDecodeError;
Expand description
Trait Implementations§
Source§impl Debug for NonZeroDecodeError
impl Debug for NonZeroDecodeError
Source§impl Display for NonZeroDecodeError
impl Display for NonZeroDecodeError
Source§impl Error for NonZeroDecodeError
impl Error for NonZeroDecodeError
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<Infallible> for NonZeroDecodeError
impl From<Infallible> for NonZeroDecodeError
Source§fn from(_value: Infallible) -> Self
fn from(_value: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<NonZeroDecodeError> for GenericDecodeError
impl From<NonZeroDecodeError> for GenericDecodeError
Source§fn from(value: NonZeroDecodeError) -> Self
fn from(value: NonZeroDecodeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NonZeroDecodeError
impl PartialEq for NonZeroDecodeError
impl Eq for NonZeroDecodeError
impl StructuralPartialEq for NonZeroDecodeError
Auto Trait Implementations§
impl Freeze for NonZeroDecodeError
impl RefUnwindSafe for NonZeroDecodeError
impl Send for NonZeroDecodeError
impl Sync for NonZeroDecodeError
impl Unpin for NonZeroDecodeError
impl UnwindSafe for NonZeroDecodeError
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