pub struct VectorStats {
pub vectors: u64,
pub tombstones: u64,
pub links: u64,
pub approx_bytes: u64,
pub rebuild_recommended: bool,
}Expand description
Sizing counters (RFC D6).
Fields§
§vectors: u64Living vectors.
tombstones: u64Tombstoned nodes still in the graph.
links: u64Total graph links.
approx_bytes: u64Approximate heap bytes.
rebuild_recommended: bool1 when tombstones exceed the rebuild threshold (30%).
Trait Implementations§
Source§impl Clone for VectorStats
impl Clone for VectorStats
Source§fn clone(&self) -> VectorStats
fn clone(&self) -> VectorStats
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 moreimpl Copy for VectorStats
Source§impl Debug for VectorStats
impl Debug for VectorStats
Source§impl Default for VectorStats
impl Default for VectorStats
Source§fn default() -> VectorStats
fn default() -> VectorStats
Returns the “default value” for a type. Read more
impl Eq for VectorStats
Source§impl PartialEq for VectorStats
impl PartialEq for VectorStats
impl StructuralPartialEq for VectorStats
Auto Trait Implementations§
impl Freeze for VectorStats
impl RefUnwindSafe for VectorStats
impl Send for VectorStats
impl Sync for VectorStats
impl Unpin for VectorStats
impl UnsafeUnpin for VectorStats
impl UnwindSafe for VectorStats
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