pub struct ClearanceLevelError {
pub value: u8,
}Expand description
Error returned when converting an out-of-range u8 to a ClearanceLevel.
Fields§
§value: u8The input byte that could not be mapped.
Trait Implementations§
Source§impl Clone for ClearanceLevelError
impl Clone for ClearanceLevelError
Source§fn clone(&self) -> ClearanceLevelError
fn clone(&self) -> ClearanceLevelError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClearanceLevelError
impl Debug for ClearanceLevelError
Source§impl Display for ClearanceLevelError
impl Display for ClearanceLevelError
Source§impl Error for ClearanceLevelError
impl Error for ClearanceLevelError
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 ClearanceLevelError
impl PartialEq for ClearanceLevelError
impl Copy for ClearanceLevelError
impl Eq for ClearanceLevelError
impl StructuralPartialEq for ClearanceLevelError
Auto Trait Implementations§
impl Freeze for ClearanceLevelError
impl RefUnwindSafe for ClearanceLevelError
impl Send for ClearanceLevelError
impl Sync for ClearanceLevelError
impl Unpin for ClearanceLevelError
impl UnsafeUnpin for ClearanceLevelError
impl UnwindSafe for ClearanceLevelError
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