pub struct DiskCompactionDiskResult {
pub guest_path: String,
pub input_layers: usize,
pub selected_layers: usize,
pub output_layers: usize,
pub materialized_bytes: u64,
pub total_us: u64,
}Expand description
Per-disk outcome; a selected count below two means the chain was unchanged.
Fields§
§guest_path: StringGuest mount path; / identifies the root disk.
input_layers: usizePhysical layers before compaction, including the writable head.
selected_layers: usizeOldest sealed physical layers selected, including the base.
output_layers: usizePhysical layers after compaction, including the writable head.
materialized_bytes: u64Guest bytes materialized; not reclaimed disk space.
total_us: u64This disk’s preparation/materialization duration in microseconds, excluding journal adoption and backend switching. Those shared phases are included in the aggregate timing.
Trait Implementations§
Source§impl Clone for DiskCompactionDiskResult
impl Clone for DiskCompactionDiskResult
Source§fn clone(&self) -> DiskCompactionDiskResult
fn clone(&self) -> DiskCompactionDiskResult
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 DiskCompactionDiskResult
impl Debug for DiskCompactionDiskResult
Source§impl Default for DiskCompactionDiskResult
impl Default for DiskCompactionDiskResult
Source§fn default() -> DiskCompactionDiskResult
fn default() -> DiskCompactionDiskResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiskCompactionDiskResult
impl<'de> Deserialize<'de> for DiskCompactionDiskResult
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 DiskCompactionDiskResult
impl RefUnwindSafe for DiskCompactionDiskResult
impl Send for DiskCompactionDiskResult
impl Sync for DiskCompactionDiskResult
impl Unpin for DiskCompactionDiskResult
impl UnsafeUnpin for DiskCompactionDiskResult
impl UnwindSafe for DiskCompactionDiskResult
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