pub struct ClusterStats {
pub total_shards: u32,
pub online_shards: u32,
pub total_documents: u64,
pub total_memory_bytes: u64,
pub current_tick: Tick,
}Expand description
Statistics about the distributed cluster.
Fields§
§total_shards: u32Total number of shards in the cluster.
online_shards: u32Number of currently online shards.
total_documents: u64Total documents across all shards.
total_memory_bytes: u64Total memory usage across all shards.
current_tick: TickCurrent simulation tick.
Trait Implementations§
Source§impl Clone for ClusterStats
impl Clone for ClusterStats
Source§fn clone(&self) -> ClusterStats
fn clone(&self) -> ClusterStats
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 moreAuto Trait Implementations§
impl Freeze for ClusterStats
impl RefUnwindSafe for ClusterStats
impl Send for ClusterStats
impl Sync for ClusterStats
impl Unpin for ClusterStats
impl UnsafeUnpin for ClusterStats
impl UnwindSafe for ClusterStats
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