pub enum ModificationDisposition {
Live,
NextStart,
RequiresRestart,
Unsupported,
}Expand description
When or whether a planned change can take effect.
Variants§
Live
Applies to the running VM now.
NextStart
Persists to desired config and applies the next time the sandbox starts.
RequiresRestart
Needs a restart before it can take effect.
Unsupported
Cannot be changed by modify.
Trait Implementations§
Source§impl Clone for ModificationDisposition
impl Clone for ModificationDisposition
Source§fn clone(&self) -> ModificationDisposition
fn clone(&self) -> ModificationDisposition
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 moreimpl Copy for ModificationDisposition
Source§impl Debug for ModificationDisposition
impl Debug for ModificationDisposition
Source§impl<'de> Deserialize<'de> for ModificationDisposition
impl<'de> Deserialize<'de> for ModificationDisposition
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
impl Eq for ModificationDisposition
Source§impl PartialEq for ModificationDisposition
impl PartialEq for ModificationDisposition
Source§fn eq(&self, other: &ModificationDisposition) -> bool
fn eq(&self, other: &ModificationDisposition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModificationDisposition
impl Serialize for ModificationDisposition
impl StructuralPartialEq for ModificationDisposition
Auto Trait Implementations§
impl Freeze for ModificationDisposition
impl RefUnwindSafe for ModificationDisposition
impl Send for ModificationDisposition
impl Sync for ModificationDisposition
impl Unpin for ModificationDisposition
impl UnsafeUnpin for ModificationDisposition
impl UnwindSafe for ModificationDisposition
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