pub enum NestingLevel {
L0,
L1,
L2,
}Expand description
Nested virtualization state for L1/L2 management
Variants§
L0
Running at L0 (host hypervisor)
L1
Running at L1 (guest hypervisor)
L2
Running at L2 (nested guest)
Trait Implementations§
Source§impl Clone for NestingLevel
impl Clone for NestingLevel
Source§fn clone(&self) -> NestingLevel
fn clone(&self) -> NestingLevel
Returns a duplicate 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 NestingLevel
impl Debug for NestingLevel
Source§impl Default for NestingLevel
impl Default for NestingLevel
Source§fn default() -> NestingLevel
fn default() -> NestingLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for NestingLevel
impl PartialEq for NestingLevel
impl Copy for NestingLevel
impl Eq for NestingLevel
impl StructuralPartialEq for NestingLevel
Auto Trait Implementations§
impl Freeze for NestingLevel
impl RefUnwindSafe for NestingLevel
impl Send for NestingLevel
impl Sync for NestingLevel
impl Unpin for NestingLevel
impl UnwindSafe for NestingLevel
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,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)