#[repr(u8)]pub enum Cmode {
USER_AND_PRIV = 0,
_RESERVED_1 = 1,
USER_ONLY = 2,
PRIV_ONLY = 3,
}Variants§
USER_AND_PRIV = 0
Counted in both User and Privileged modes
_RESERVED_1 = 1
USER_ONLY = 2
Counted only in User mode
PRIV_ONLY = 3
Counted only in Privileged mode
Implementations§
Trait Implementations§
Source§impl Ord for Cmode
impl Ord for Cmode
Source§impl PartialOrd for Cmode
impl PartialOrd for Cmode
impl Copy for Cmode
impl Eq for Cmode
impl StructuralPartialEq for Cmode
Auto Trait Implementations§
impl Freeze for Cmode
impl RefUnwindSafe for Cmode
impl Send for Cmode
impl Sync for Cmode
impl Unpin for Cmode
impl UnwindSafe for Cmode
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