pub struct StoreStatus {
pub total_vectors: u64,
pub total_segments: u32,
pub file_size: u64,
pub current_epoch: u32,
pub profile_id: u8,
pub compaction_state: CompactionState,
pub dead_space_ratio: f64,
pub read_only: bool,
}Expand description
A snapshot of the store’s current state.
Fields§
§total_vectors: u64Total number of live (non-deleted) vectors.
total_segments: u32Total number of segments in the file.
file_size: u64Total file size in bytes.
current_epoch: u32Current manifest epoch.
profile_id: u8Hardware profile identifier.
compaction_state: CompactionStateCurrent compaction state.
dead_space_ratio: f64Ratio of dead space to total file size (0.0 - 1.0).
read_only: boolWhether the store is open in read-only mode.
Trait Implementations§
Source§impl Clone for StoreStatus
impl Clone for StoreStatus
Source§fn clone(&self) -> StoreStatus
fn clone(&self) -> StoreStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StoreStatus
impl RefUnwindSafe for StoreStatus
impl Send for StoreStatus
impl Sync for StoreStatus
impl Unpin for StoreStatus
impl UnwindSafe for StoreStatus
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