Struct r6tracker::types::platform::InvalidPlatformCode
source · pub struct InvalidPlatformCode(pub u32);
Expand description
Error when a u32 cannot be converted into a platform.
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Debug for InvalidPlatformCode
impl Debug for InvalidPlatformCode
source§impl Display for InvalidPlatformCode
impl Display for InvalidPlatformCode
source§impl Error for InvalidPlatformCode
impl Error for InvalidPlatformCode
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for InvalidPlatformCode
impl Send for InvalidPlatformCode
impl Sync for InvalidPlatformCode
impl Unpin for InvalidPlatformCode
impl UnwindSafe for InvalidPlatformCode
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