pub struct MaintenanceReport {
pub tail_objects: usize,
pub tail_bytes: u64,
pub compaction: Option<Compaction>,
pub gc: Option<GcReport>,
}Expand description
What a call to Namespace::maintain saw and
did.
Fields§
§tail_objects: usizeWAL objects past the fold point when the call looked.
tail_bytes: u64Their stored size in bytes.
compaction: Option<Compaction>What the compaction did, or None if none was due. Some(Superseded)
means another process compacted first, which is fine.
gc: Option<GcReport>What the collection did, or None if none was asked for.
Trait Implementations§
Source§impl Clone for MaintenanceReport
impl Clone for MaintenanceReport
Source§impl Debug for MaintenanceReport
impl Debug for MaintenanceReport
impl Eq for MaintenanceReport
Source§impl PartialEq for MaintenanceReport
impl PartialEq for MaintenanceReport
impl StructuralPartialEq for MaintenanceReport
Auto Trait Implementations§
impl Forget for MaintenanceReport
impl Freeze for MaintenanceReport
impl Move for MaintenanceReport
impl RefUnwindSafe for MaintenanceReport
impl Send for MaintenanceReportwhere
RawVecInner: Send,
impl Sync for MaintenanceReportwhere
RawVecInner: Sync,
impl Unpin for MaintenanceReport
impl UnsafeUnpin for MaintenanceReport
impl UnwindSafe for MaintenanceReportwhere
RawVecInner: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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