pub enum BootstrapBlockRoot {
DiskImage {
device: String,
fstype: Option<String>,
},
OciErofs {
lower: String,
upper: BootstrapBlockRootUpper,
},
}Expand description
Block-backed root filesystem configuration.
Variants§
DiskImage
A single filesystem image mounted as the guest root.
Fields
OciErofs
An EROFS lower filesystem combined with a writable overlay upper.
Fields
§
upper: BootstrapBlockRootUpperWritable overlay backing.
Trait Implementations§
Source§impl Clone for BootstrapBlockRoot
impl Clone for BootstrapBlockRoot
Source§fn clone(&self) -> BootstrapBlockRoot
fn clone(&self) -> BootstrapBlockRoot
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 BootstrapBlockRoot
impl Debug for BootstrapBlockRoot
Source§impl<'de> Deserialize<'de> for BootstrapBlockRoot
impl<'de> Deserialize<'de> for BootstrapBlockRoot
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 BootstrapBlockRoot
Source§impl PartialEq for BootstrapBlockRoot
impl PartialEq for BootstrapBlockRoot
Source§impl Serialize for BootstrapBlockRoot
impl Serialize for BootstrapBlockRoot
impl StructuralPartialEq for BootstrapBlockRoot
Auto Trait Implementations§
impl Freeze for BootstrapBlockRoot
impl RefUnwindSafe for BootstrapBlockRoot
impl Send for BootstrapBlockRoot
impl Sync for BootstrapBlockRoot
impl Unpin for BootstrapBlockRoot
impl UnsafeUnpin for BootstrapBlockRoot
impl UnwindSafe for BootstrapBlockRoot
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