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