pub enum Priv {
User,
Kernel,
Hv,
GuestUser,
GuestKernel,
Unknown,
}
Expand description
Privilege levels.
Variants§
User
User space.
Kernel
Kernel space.
Hv
Hypervisor.
GuestUser
Guest user space.
GuestKernel
Guest kernel space.
Unknown
Unknown.
Trait Implementations§
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