pub struct DropEpochReport { /* private fields */ }Expand description
Result of one explicit embedding-epoch drop.
Implementations§
Source§impl DropEpochReport
impl DropEpochReport
Sourcepub const fn generation(&self) -> u64
pub const fn generation(&self) -> u64
Returns the generation committed without the dropped segments.
Sourcepub fn segments_dropped(&self) -> &[SegmentId]
pub fn segments_dropped(&self) -> &[SegmentId]
Returns the segment ids omitted by the committed manifest.
Sourcepub const fn bytes_reclaimed(&self) -> u64
pub const fn bytes_reclaimed(&self) -> u64
Returns the exact segment-file bytes unlinked after commit.
Trait Implementations§
Source§impl Clone for DropEpochReport
impl Clone for DropEpochReport
Source§impl Debug for DropEpochReport
impl Debug for DropEpochReport
impl Eq for DropEpochReport
Source§impl PartialEq for DropEpochReport
impl PartialEq for DropEpochReport
impl StructuralPartialEq for DropEpochReport
Auto Trait Implementations§
impl Freeze for DropEpochReport
impl RefUnwindSafe for DropEpochReport
impl Send for DropEpochReport
impl Sync for DropEpochReport
impl Unpin for DropEpochReport
impl UnsafeUnpin for DropEpochReport
impl UnwindSafe for DropEpochReport
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