pub enum FlatClone {
Auto,
Copy,
Reflink,
}Expand description
Strategy used to create a sandbox-owned instance of a cached flat rootfs.
Variants§
Auto
Use a native copy-on-write clone when supported, otherwise make a sparse copy.
Copy
Always create an independent sparse-aware copy.
Reflink
Require a native copy-on-write clone and fail when it is unavailable.
Implementations§
Trait Implementations§
impl Copy for FlatClone
Source§impl<'de> Deserialize<'de> for FlatClone
impl<'de> Deserialize<'de> for FlatClone
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 FlatClone
impl StructuralPartialEq for FlatClone
Auto Trait Implementations§
impl Freeze for FlatClone
impl RefUnwindSafe for FlatClone
impl Send for FlatClone
impl Sync for FlatClone
impl Unpin for FlatClone
impl UnsafeUnpin for FlatClone
impl UnwindSafe for FlatClone
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