#[repr(u64)]
pub enum Value {
    Unsupported,
    Partial,
    Full,
}
Expand description

If EL2 is implemented, indicates support for the use of nested virtualization.

Variants

Unsupported

Nested virtualization is not supported.

Partial

The HCR_EL2.{AT, NV1, NV} bits are implemented.

Full

The VNCR_EL2 register and the HCR_EL2.{NV2, AT, NV1, NV} bits are implemented.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.