pub struct VacuumReport {
pub pages_before: u32,
pub pages_after: u32,
}Expand description
Result of DocumentStore::vacuum: page counts before/after compaction.
Fields§
§pages_before: u32§pages_after: u32Implementations§
Source§impl VacuumReport
impl VacuumReport
pub fn bytes_reclaimed(&self) -> u64
Trait Implementations§
Source§impl Clone for VacuumReport
impl Clone for VacuumReport
Source§fn clone(&self) -> VacuumReport
fn clone(&self) -> VacuumReport
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 moreimpl Copy for VacuumReport
Source§impl Debug for VacuumReport
impl Debug for VacuumReport
impl Eq for VacuumReport
Source§impl PartialEq for VacuumReport
impl PartialEq for VacuumReport
impl StructuralPartialEq for VacuumReport
Auto Trait Implementations§
impl Freeze for VacuumReport
impl RefUnwindSafe for VacuumReport
impl Send for VacuumReport
impl Sync for VacuumReport
impl Unpin for VacuumReport
impl UnsafeUnpin for VacuumReport
impl UnwindSafe for VacuumReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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