Enum abyss::x86_64::PrivilegeLevel
source · pub enum PrivilegeLevel {
Ring0,
Ring1,
Ring2,
Ring3,
}
Expand description
Privilege Levels.
Variants§
Trait Implementations§
source§impl Clone for PrivilegeLevel
impl Clone for PrivilegeLevel
source§fn clone(&self) -> PrivilegeLevel
fn clone(&self) -> PrivilegeLevel
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrivilegeLevel
impl Debug for PrivilegeLevel
source§impl PartialEq<PrivilegeLevel> for PrivilegeLevel
impl PartialEq<PrivilegeLevel> for PrivilegeLevel
source§fn eq(&self, other: &PrivilegeLevel) -> bool
fn eq(&self, other: &PrivilegeLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PrivilegeLevel
impl Eq for PrivilegeLevel
impl StructuralEq for PrivilegeLevel
impl StructuralPartialEq for PrivilegeLevel
Auto Trait Implementations§
impl RefUnwindSafe for PrivilegeLevel
impl Send for PrivilegeLevel
impl Sync for PrivilegeLevel
impl Unpin for PrivilegeLevel
impl UnwindSafe for PrivilegeLevel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more