Struct file_system::metrics::prometheus_static_scope_1::IOBytesVec2[][src]

pub struct IOBytesVec2 {
    pub read: IntCounter,
    pub write: IntCounter,
}

Fields

read: IntCounterwrite: IntCounter

Implementations

impl IOBytesVec2[src]

pub fn from(label_0: &str, m: &IntCounterVec) -> IOBytesVec2[src]

pub fn get(&self, value: IOOp) -> &IntCounter[src]

pub fn try_get(&self, value: &str) -> Option<&IntCounter>[src]

Auto Trait Implementations

impl RefUnwindSafe for IOBytesVec2

impl Send for IOBytesVec2

impl Sync for IOBytesVec2

impl Unpin for IOBytesVec2

impl UnwindSafe for IOBytesVec2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.