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