pub struct CompactMaterialization {
pub virtual_size: u64,
pub materialized_bytes: u64,
}Expand description
Work performed while materializing a consolidated base.
Fields§
§virtual_size: u64Guest-visible capacity, not the qcow2 container length.
materialized_bytes: u64Guest bytes written into materialized runs, including zeros within those runs.
Trait Implementations§
Source§impl Clone for CompactMaterialization
impl Clone for CompactMaterialization
Source§fn clone(&self) -> CompactMaterialization
fn clone(&self) -> CompactMaterialization
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 CompactMaterialization
impl RefUnwindSafe for CompactMaterialization
impl Send for CompactMaterialization
impl Sync for CompactMaterialization
impl Unpin for CompactMaterialization
impl UnsafeUnpin for CompactMaterialization
impl UnwindSafe for CompactMaterialization
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