pub struct Metrics {
pub requests: IntCounterVec,
pub duration: HistogramVec,
pub rejections: IntCounterVec,
pub uploaded_bytes: IntCounter,
pub downloaded_bytes: IntCounter,
pub object_size: Histogram,
pub objects_stored: IntGauge,
pub store_bytes: IntGauge,
pub store_scans: IntGauge,
/* private fields */
}Fields§
§requests: IntCounterVec§duration: HistogramVec§rejections: IntCounterVec§uploaded_bytes: IntCounter§downloaded_bytes: IntCounter§object_size: Histogram§objects_stored: IntGauge§store_bytes: IntGauge§store_scans: IntGaugeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Metrics
impl !UnwindSafe for Metrics
impl Freeze for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnsafeUnpin for Metrics
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