pub struct RootDiskState {
pub filesystem_bytes: u64,
pub device_bytes: u64,
}Expand description
Observed capacities of the guest root filesystem and its block device.
Fields§
§filesystem_bytes: u64ext4 superblock size, including filesystem metadata.
device_bytes: u64Capacity observed by the guest block driver.
Trait Implementations§
Source§impl Clone for RootDiskState
impl Clone for RootDiskState
Source§fn clone(&self) -> RootDiskState
fn clone(&self) -> RootDiskState
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 RootDiskState
impl Debug for RootDiskState
Source§impl<'de> Deserialize<'de> for RootDiskState
impl<'de> Deserialize<'de> for RootDiskState
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
Auto Trait Implementations§
impl Freeze for RootDiskState
impl RefUnwindSafe for RootDiskState
impl Send for RootDiskState
impl Sync for RootDiskState
impl Unpin for RootDiskState
impl UnsafeUnpin for RootDiskState
impl UnwindSafe for RootDiskState
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