#[non_exhaustive]pub struct SegmentHealth {
pub source: RowSource,
pub tier: SegmentTier,
pub rows: u64,
pub tombstones: u64,
pub bytes: u64,
pub clustering_key_range: ClusteringKeyRange,
}Expand description
Version 1 health for one active or immutable segment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source: RowSourceCollision-free segment address.
tier: SegmentTierPhysical search tier present in the pinned store state.
rows: u64Exact stored row count, including tombstoned rows.
tombstones: u64Exact tombstoned row count.
bytes: u64Exact active allocation or immutable mapped byte count.
clustering_key_range: ClusteringKeyRangeManifest-stamped clustering-key range for immutable segments.
Trait Implementations§
Source§impl Clone for SegmentHealth
impl Clone for SegmentHealth
Source§impl Debug for SegmentHealth
impl Debug for SegmentHealth
impl Eq for SegmentHealth
Source§impl PartialEq for SegmentHealth
impl PartialEq for SegmentHealth
impl StructuralPartialEq for SegmentHealth
Auto Trait Implementations§
impl Freeze for SegmentHealth
impl RefUnwindSafe for SegmentHealth
impl Send for SegmentHealth
impl Sync for SegmentHealth
impl Unpin for SegmentHealth
impl UnsafeUnpin for SegmentHealth
impl UnwindSafe for SegmentHealth
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