pub enum DiskCompactionTarget {
All,
Root,
Disk {
guest_path: String,
},
}Expand description
Disks eligible for explicit maintenance. Named and external disks are never included.
Variants§
All
The managed/flat root, when present, and every sandbox-owned data disk.
Root
Only the managed or flat root disk.
Disk
Only the sandbox-owned data disk mounted at this guest path.
Trait Implementations§
Source§impl Clone for DiskCompactionTarget
impl Clone for DiskCompactionTarget
Source§fn clone(&self) -> DiskCompactionTarget
fn clone(&self) -> DiskCompactionTarget
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 DiskCompactionTarget
impl Debug for DiskCompactionTarget
Source§impl Default for DiskCompactionTarget
impl Default for DiskCompactionTarget
Source§fn default() -> DiskCompactionTarget
fn default() -> DiskCompactionTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiskCompactionTarget
impl<'de> Deserialize<'de> for DiskCompactionTarget
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 DiskCompactionTarget
Source§impl PartialEq for DiskCompactionTarget
impl PartialEq for DiskCompactionTarget
Source§impl Serialize for DiskCompactionTarget
impl Serialize for DiskCompactionTarget
impl StructuralPartialEq for DiskCompactionTarget
Auto Trait Implementations§
impl Freeze for DiskCompactionTarget
impl RefUnwindSafe for DiskCompactionTarget
impl Send for DiskCompactionTarget
impl Sync for DiskCompactionTarget
impl Unpin for DiskCompactionTarget
impl UnsafeUnpin for DiskCompactionTarget
impl UnwindSafe for DiskCompactionTarget
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