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