Struct raftstore::store::metrics::prometheus_static_scope_6::ProposalVec[][src]

pub struct ProposalVec {
    inner: &'static LocalKey<ProposalVecInner>,
    pub all: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
    pub local_read: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
    pub read_index: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
    pub unsafe_read_index: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
    pub normal: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
    pub transfer_leader: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
    pub conf_change: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
    pub batch: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>,
}

Fields

inner: &'static LocalKey<ProposalVecInner>all: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>local_read: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>read_index: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>unsafe_read_index: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>normal: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>transfer_leader: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>conf_change: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>batch: AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>

Implementations

impl ProposalVec[src]

pub fn from(inner: &'static LocalKey<ProposalVecInner>) -> ProposalVec[src]

pub fn get(
    &self,
    enum_value: ProposalType
) -> &AFLocalCounter<ProposalVecInner, LocalIntCounter, ProposalVecDelegator>
[src]

pub fn flush(&self)[src]

Auto Trait Implementations

impl !RefUnwindSafe for ProposalVec

impl Send for ProposalVec

impl Sync for ProposalVec

impl Unpin for ProposalVec

impl UnwindSafe for ProposalVec

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?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]