pub struct UnknownDataCategory(pub u8);
Expand description
An error that occurs if a number cannot be converted into a DataCategory
.
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl Debug for UnknownDataCategory
impl Debug for UnknownDataCategory
Source§impl Display for UnknownDataCategory
impl Display for UnknownDataCategory
Source§impl Error for UnknownDataCategory
impl Error for UnknownDataCategory
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 PartialEq for UnknownDataCategory
impl PartialEq for UnknownDataCategory
impl StructuralPartialEq for UnknownDataCategory
Auto Trait Implementations§
impl Freeze for UnknownDataCategory
impl RefUnwindSafe for UnknownDataCategory
impl Send for UnknownDataCategory
impl Sync for UnknownDataCategory
impl Unpin for UnknownDataCategory
impl UnwindSafe for UnknownDataCategory
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