pub enum Npriv {
Privileged,
Unprivileged,
}
Expand description
Thread mode privilege level
Variants
Privileged
Privileged
Unprivileged
Unprivileged
Implementations
sourceimpl Npriv
impl Npriv
sourcepub fn is_privileged(&self) -> bool
pub fn is_privileged(&self) -> bool
Is in privileged thread mode?
sourcepub fn is_unprivileged(&self) -> bool
pub fn is_unprivileged(&self) -> bool
Is in unprivileged thread mode?
Trait Implementations
impl Copy for Npriv
impl Eq for Npriv
impl StructuralEq for Npriv
impl StructuralPartialEq for Npriv
Auto Trait Implementations
impl RefUnwindSafe for Npriv
impl Send for Npriv
impl Sync for Npriv
impl Unpin for Npriv
impl UnwindSafe for Npriv
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more