pub struct DropPartitionReport { /* private fields */ }Expand description
Result of one explicit whole-segment partition drop.
Implementations§
Source§impl DropPartitionReport
impl DropPartitionReport
Sourcepub const fn generation(&self) -> u64
pub const fn generation(&self) -> u64
Returns the committed or unchanged generation observed by this call.
Sourcepub const fn is_no_op(&self) -> bool
pub const fn is_no_op(&self) -> bool
Returns whether no manifest commit and no unlink were needed.
Sourcepub fn segments_dropped(&self) -> &[SegmentId]
pub fn segments_dropped(&self) -> &[SegmentId]
Returns immutable segments omitted by the committed manifest.
Sourcepub const fn bytes_reclaimed(&self) -> u64
pub const fn bytes_reclaimed(&self) -> u64
Returns the exact immutable file bytes unlinked after commit.
Sourcepub fn orphaned_segments(&self) -> &[SegmentId]
pub fn orphaned_segments(&self) -> &[SegmentId]
Returns dropped segments whose post-commit unlink failed.
Sourcepub fn straddlers_skipped(&self) -> &[SegmentId]
pub fn straddlers_skipped(&self) -> &[SegmentId]
Returns overlapping segments retained because they crossed a boundary.
Trait Implementations§
Source§impl Clone for DropPartitionReport
impl Clone for DropPartitionReport
Source§fn clone(&self) -> DropPartitionReport
fn clone(&self) -> DropPartitionReport
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 moreSource§impl Debug for DropPartitionReport
impl Debug for DropPartitionReport
impl Eq for DropPartitionReport
Source§impl PartialEq for DropPartitionReport
impl PartialEq for DropPartitionReport
impl StructuralPartialEq for DropPartitionReport
Auto Trait Implementations§
impl Freeze for DropPartitionReport
impl RefUnwindSafe for DropPartitionReport
impl Send for DropPartitionReport
impl Sync for DropPartitionReport
impl Unpin for DropPartitionReport
impl UnsafeUnpin for DropPartitionReport
impl UnwindSafe for DropPartitionReport
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