pub struct CompactLayer {
pub path: PathBuf,
pub qcow2: bool,
}Expand description
One caller-resolved immutable member of a compaction prefix.
Fields§
§path: PathBufFile pinned by the caller’s disk mutation lease.
qcow2: boolWhether this file is qcow2; otherwise it is raw.
Trait Implementations§
Source§impl Clone for CompactLayer
impl Clone for CompactLayer
Source§fn clone(&self) -> CompactLayer
fn clone(&self) -> CompactLayer
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 moreAuto Trait Implementations§
impl Freeze for CompactLayer
impl RefUnwindSafe for CompactLayer
impl Send for CompactLayer
impl Sync for CompactLayer
impl Unpin for CompactLayer
impl UnsafeUnpin for CompactLayer
impl UnwindSafe for CompactLayer
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