#[repr(u8)]
pub enum Ring {
Ring0,
Ring1,
Ring2,
Ring3,
}
Expand description
x86 Protection levels
Note
This should not contain values larger than 2 bits, otherwise segment descriptor code needs to be adjusted accordingly.
Variants
Ring0
Ring1
Ring2
Ring3
Trait Implementations
impl Copy for Ring
impl Eq for Ring
impl StructuralEq for Ring
impl StructuralPartialEq for Ring
Auto Trait Implementations
impl RefUnwindSafe for Ring
impl Send for Ring
impl Sync for Ring
impl Unpin for Ring
impl UnwindSafe for Ring
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