#[repr(u64)]pub enum Value {
Unsupported = 0,
Partial = 1,
Full = 2,
}
Expand description
If EL2 is implemented, indicates support for the use of nested virtualization.
Variants§
Unsupported = 0
Nested virtualization is not supported.
Partial = 1
The HCR_EL2.{AT, NV1, NV} bits are implemented.
Full = 2
The VNCR_EL2 register and the HCR_EL2.{NV2, AT, NV1, NV} bits are implemented.
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
source§impl TryFromValue<u64> for Value
impl TryFromValue<u64> for Value
impl Copy for Value
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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