Struct raftstore::store::metrics::prometheus_static_scope_9::MessageCounterVecInner[][src]

pub struct MessageCounterVecInner {
    pub append: MessageCounterVec2Inner,
    pub append_resp: MessageCounterVec2Inner,
    pub prevote: MessageCounterVec2Inner,
    pub prevote_resp: MessageCounterVec2Inner,
    pub vote: MessageCounterVec2Inner,
    pub vote_resp: MessageCounterVec2Inner,
    pub snapshot: MessageCounterVec2Inner,
    pub request_snapshot: MessageCounterVec2Inner,
    pub heartbeat: MessageCounterVec2Inner,
    pub heartbeat_resp: MessageCounterVec2Inner,
    pub transfer_leader: MessageCounterVec2Inner,
    pub timeout_now: MessageCounterVec2Inner,
    pub read_index: MessageCounterVec2Inner,
    pub read_index_resp: MessageCounterVec2Inner,
    last_flush: Cell<u64>,
    flush_millis: u64,
}

Fields

append: MessageCounterVec2Innerappend_resp: MessageCounterVec2Innerprevote: MessageCounterVec2Innerprevote_resp: MessageCounterVec2Innervote: MessageCounterVec2Innervote_resp: MessageCounterVec2Innersnapshot: MessageCounterVec2Innerrequest_snapshot: MessageCounterVec2Innerheartbeat: MessageCounterVec2Innerheartbeat_resp: MessageCounterVec2Innertransfer_leader: MessageCounterVec2Innertimeout_now: MessageCounterVec2Innerread_index: MessageCounterVec2Innerread_index_resp: MessageCounterVec2Innerlast_flush: Cell<u64>flush_millis: u64

Implementations

impl MessageCounterVecInner[src]

pub fn from(m: &IntCounterVec) -> MessageCounterVecInner[src]

pub fn flush(&self)[src]

pub fn with_flush_duration(self, duration: Duration) -> Self[src]

Trait Implementations

impl CounterDelegator<MessageCounterVecInner, GenericLocalCounter<AtomicI64>> for MessageCounterVec2Delegator[src]

impl LocalMetric for MessageCounterVecInner[src]

impl MayFlush for MessageCounterVecInner[src]

Auto Trait Implementations

impl !RefUnwindSafe for MessageCounterVecInner

impl Send for MessageCounterVecInner

impl !Sync for MessageCounterVecInner

impl Unpin for MessageCounterVecInner

impl UnwindSafe for MessageCounterVecInner

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<V, W> ConvertFrom<W> for V where
    W: ConvertTo<V>, 
[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> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]