pub struct ManagerStats {
pub total_entities: usize,
pub growing_count: usize,
pub sealed_count: usize,
pub archived_count: usize,
pub total_memory_bytes: usize,
pub seal_ops: u64,
pub compact_ops: u64,
}Expand description
Manager statistics
Fields§
§total_entities: usizeTotal entities across all segments
growing_count: usizeNumber of growing segments
sealed_count: usizeNumber of sealed segments
archived_count: usizeNumber of archived segments
total_memory_bytes: usizeTotal memory usage
seal_ops: u64Number of seal operations
compact_ops: u64Number of compaction operations
Trait Implementations§
Source§impl Clone for ManagerStats
impl Clone for ManagerStats
Source§fn clone(&self) -> ManagerStats
fn clone(&self) -> ManagerStats
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 moreSource§impl Debug for ManagerStats
impl Debug for ManagerStats
Source§impl Default for ManagerStats
impl Default for ManagerStats
Source§fn default() -> ManagerStats
fn default() -> ManagerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ManagerStats
impl RefUnwindSafe for ManagerStats
impl Send for ManagerStats
impl Sync for ManagerStats
impl Unpin for ManagerStats
impl UnsafeUnpin for ManagerStats
impl UnwindSafe for ManagerStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request