pub struct CompactionProgress {
pub pages_relocated: u64,
pub complete: bool,
}Expand description
Progress report from a single compaction step.
Fields§
§pages_relocated: u64Number of pages relocated in this step
complete: boolWhether compaction is complete (no more pages to relocate)
Trait Implementations§
Source§impl Clone for CompactionProgress
impl Clone for CompactionProgress
Source§fn clone(&self) -> CompactionProgress
fn clone(&self) -> CompactionProgress
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 CompactionProgress
impl Debug for CompactionProgress
impl Copy for CompactionProgress
Auto Trait Implementations§
impl Freeze for CompactionProgress
impl RefUnwindSafe for CompactionProgress
impl Send for CompactionProgress
impl Sync for CompactionProgress
impl Unpin for CompactionProgress
impl UnsafeUnpin for CompactionProgress
impl UnwindSafe for CompactionProgress
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