#[repr(u8)]pub enum State {
Uninitialized = 0,
Initialized = 1,
Working = 2,
}Expand description
The platform state.
The underlying CSV platform behaves like a state machine and can only perform certain actions while it is in certain states.
Variants§
Uninitialized = 0
The platform is uninitialized.
Initialized = 1
The platform is initialized, but not currently managing any guests.
Working = 2
The platform is initialized and is overseeing execution of encrypted guests.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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