pub enum KernelAccess {
ReadOnly,
WriteOnly,
ReadWrite,
}
Variants§
Trait Implementations§
Source§impl From<KernelAccess> for u64
impl From<KernelAccess> for u64
Source§fn from(kernel_access: KernelAccess) -> u64
fn from(kernel_access: KernelAccess) -> u64
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KernelAccess
impl RefUnwindSafe for KernelAccess
impl Send for KernelAccess
impl Sync for KernelAccess
impl Unpin for KernelAccess
impl UnwindSafe for KernelAccess
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