pub struct DbMetricsSnapshot {Show 15 fields
pub reader_wait_count: u64,
pub reader_wait_avg_ms: f64,
pub reader_wait_max_ms: f64,
pub writer_queue_depth: usize,
pub writer_queue_depth_max: usize,
pub writer_batch_count: u64,
pub writer_batch_avg_size: f64,
pub writer_batch_max_size: usize,
pub writer_retry_count: u64,
pub writer_retry_max_attempt: usize,
pub page_anchor_hit_count: u64,
pub page_anchor_miss_count: u64,
pub pages_walked_from_anchor: u64,
pub count_query_avg_ms: f64,
pub count_query_max_ms: f64,
}Fields§
§reader_wait_count: u64§reader_wait_avg_ms: f64§reader_wait_max_ms: f64§writer_queue_depth: usize§writer_queue_depth_max: usize§writer_batch_count: u64§writer_batch_avg_size: f64§writer_batch_max_size: usize§writer_retry_count: u64§writer_retry_max_attempt: usize§page_anchor_hit_count: u64§page_anchor_miss_count: u64§pages_walked_from_anchor: u64§count_query_avg_ms: f64§count_query_max_ms: f64Trait Implementations§
Source§impl Clone for DbMetricsSnapshot
impl Clone for DbMetricsSnapshot
Source§fn clone(&self) -> DbMetricsSnapshot
fn clone(&self) -> DbMetricsSnapshot
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 DbMetricsSnapshot
impl RefUnwindSafe for DbMetricsSnapshot
impl Send for DbMetricsSnapshot
impl Sync for DbMetricsSnapshot
impl Unpin for DbMetricsSnapshot
impl UnsafeUnpin for DbMetricsSnapshot
impl UnwindSafe for DbMetricsSnapshot
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