pub struct BufferStatsSnapshot {
pub buffering_sessions: u64,
pub buffered_queries: u64,
pub replayed_queries: u64,
pub failed_replays: u64,
pub timed_out_queries: u64,
pub rejected_queries: u64,
pub current_buffer_size: usize,
pub current_memory_usage: usize,
}Expand description
Statistics snapshot
Fields§
§buffering_sessions: u64§buffered_queries: u64§replayed_queries: u64§failed_replays: u64§timed_out_queries: u64§rejected_queries: u64§current_buffer_size: usize§current_memory_usage: usizeTrait Implementations§
Source§impl Clone for BufferStatsSnapshot
impl Clone for BufferStatsSnapshot
Source§fn clone(&self) -> BufferStatsSnapshot
fn clone(&self) -> BufferStatsSnapshot
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 BufferStatsSnapshot
impl RefUnwindSafe for BufferStatsSnapshot
impl Send for BufferStatsSnapshot
impl Sync for BufferStatsSnapshot
impl Unpin for BufferStatsSnapshot
impl UnsafeUnpin for BufferStatsSnapshot
impl UnwindSafe for BufferStatsSnapshot
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 more