pub struct DefragmentationResult {
pub performed: bool,
pub blocks_moved: usize,
pub bytes_moved: u64,
pub fragmentation_before: f64,
pub fragmentation_after: f64,
pub duration: Duration,
pub unmovable_blocks: usize,
}Expand description
Result of a defragmentation operation
Fields§
§performed: boolWhether defragmentation was performed
blocks_moved: usizeNumber of blocks moved
bytes_moved: u64Total bytes moved
fragmentation_before: f64Fragmentation before defragmentation
fragmentation_after: f64Fragmentation after defragmentation
duration: DurationTime taken for defragmentation
unmovable_blocks: usizeNumber of blocks that couldn’t be moved (pinned/in-use)
Trait Implementations§
Source§impl Clone for DefragmentationResult
impl Clone for DefragmentationResult
Source§fn clone(&self) -> DefragmentationResult
fn clone(&self) -> DefragmentationResult
Returns a duplicate of the value. Read more
1.0.0 · 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 DefragmentationResult
impl Debug for DefragmentationResult
Auto Trait Implementations§
impl Freeze for DefragmentationResult
impl RefUnwindSafe for DefragmentationResult
impl Send for DefragmentationResult
impl Sync for DefragmentationResult
impl Unpin for DefragmentationResult
impl UnsafeUnpin for DefragmentationResult
impl UnwindSafe for DefragmentationResult
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