pub struct CowStats {
pub cluster_count: u32,
pub local_cluster_count: u32,
pub cluster_size: u32,
pub vectors_per_cluster: u32,
pub frozen: bool,
pub snapshot_epoch: u32,
pub pending_writes: usize,
}Expand description
Statistics about the COW engine state.
Fields§
§cluster_count: u32Total clusters in the map.
local_cluster_count: u32Clusters with local data (COW-copied or newly written).
cluster_size: u32Cluster size in bytes.
vectors_per_cluster: u32Vectors per cluster.
frozen: boolWhether the engine is frozen.
snapshot_epoch: u32Snapshot epoch (0 = mutable).
pending_writes: usizeNumber of pending writes in the coalescing buffer.
Auto Trait Implementations§
impl Freeze for CowStats
impl RefUnwindSafe for CowStats
impl Send for CowStats
impl Sync for CowStats
impl Unpin for CowStats
impl UnwindSafe for CowStats
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