Struct Priv
#[repr(transparent)]pub struct Priv(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Priv
impl Priv
pub const UNPRIVILEGED: Self
pub const UNPRIVILEGED: Self
Read and write to secure functions can be done by privileged or unprivileged access.
pub const PRIVILEGED: Self
pub const PRIVILEGED: Self
Read and write to secure functions can be done by privileged access only.
Trait Implementations§
§impl Ord for Priv
impl Ord for Priv
§impl PartialOrd for Priv
impl PartialOrd for Priv
impl Copy for Priv
impl Eq for Priv
impl StructuralPartialEq for Priv
Auto Trait Implementations§
impl Freeze for Priv
impl RefUnwindSafe for Priv
impl Send for Priv
impl Sync for Priv
impl Unpin for Priv
impl UnwindSafe for Priv
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