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