pub struct Qcow2Info {
pub version: u32,
pub cluster_bits: u8,
pub cluster_size: u32,
pub virtual_size: u64,
pub backing_file: Option<String>,
pub has_bitmaps: bool,
pub l1_size: u32,
pub l1_table_offset: u64,
}Expand description
Parsed qcow2 header metadata.
Fields§
§version: u32§cluster_bits: u8§cluster_size: u32§virtual_size: u64§backing_file: Option<String>§has_bitmaps: bool§l1_size: u32§l1_table_offset: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Qcow2Info
impl RefUnwindSafe for Qcow2Info
impl Send for Qcow2Info
impl Sync for Qcow2Info
impl Unpin for Qcow2Info
impl UnsafeUnpin for Qcow2Info
impl UnwindSafe for Qcow2Info
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more