pub enum InstanceAction {
InstanceStart,
FlushMetrics,
SendCtrlAltDel,
}Expand description
Action verb upstream Firecracker supports on /actions.
Variants§
InstanceStart
Start the microVM (boot orchestration).
FlushMetrics
Flush queued metrics to the metrics destination.
SendCtrlAltDel
Ctrl+Alt+Del — x86-only; rejected on aarch64.
Trait Implementations§
Source§impl Clone for InstanceAction
impl Clone for InstanceAction
Source§fn clone(&self) -> InstanceAction
fn clone(&self) -> InstanceAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstanceAction
impl Debug for InstanceAction
Source§impl<'de> Deserialize<'de> for InstanceAction
impl<'de> Deserialize<'de> for InstanceAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InstanceAction
impl PartialEq for InstanceAction
Source§fn eq(&self, other: &InstanceAction) -> bool
fn eq(&self, other: &InstanceAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstanceAction
impl Serialize for InstanceAction
impl Copy for InstanceAction
impl Eq for InstanceAction
impl StructuralPartialEq for InstanceAction
Auto Trait Implementations§
impl Freeze for InstanceAction
impl RefUnwindSafe for InstanceAction
impl Send for InstanceAction
impl Sync for InstanceAction
impl Unpin for InstanceAction
impl UnsafeUnpin for InstanceAction
impl UnwindSafe for InstanceAction
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