pub struct ExportResult {
pub output_size: u64,
pub free_space: Option<u64>,
pub partitions: Option<u32>,
}Expand description
Summary returned after a successful export.
Fields§
§output_size: u64Total size of the output file or directory in bytes.
free_space: Option<u64>Free space in the image (raw exports only).
partitions: Option<u32>Number of partitions (raw exports only; 0 = bare, 1 = GPT with root).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExportResult
impl RefUnwindSafe for ExportResult
impl Send for ExportResult
impl Sync for ExportResult
impl Unpin for ExportResult
impl UnsafeUnpin for ExportResult
impl UnwindSafe for ExportResult
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