pub struct DatabaseMetrics {
pub write_meter: Counter,
pub read_meter: Counter,
pub bytes_written: Counter,
pub bytes_read: Counter,
pub database_commit_time: Counter,
pub columns_read_statistic: HashMap<u32, Counter>,
pub columns_write_statistic: HashMap<u32, Counter>,
}
Fields§
§write_meter: Counter
§read_meter: Counter
§bytes_written: Counter
§bytes_read: Counter
§database_commit_time: Counter
§columns_read_statistic: HashMap<u32, Counter>
§columns_write_statistic: HashMap<u32, Counter>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseMetrics
impl RefUnwindSafe for DatabaseMetrics
impl Send for DatabaseMetrics
impl Sync for DatabaseMetrics
impl Unpin for DatabaseMetrics
impl UnwindSafe for DatabaseMetrics
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