Struct raftstore::store::metrics::prometheus_static_scope_1::RaftInvalidProposalCount[][src]

pub struct RaftInvalidProposalCount {
    inner: &'static LocalKey<RaftInvalidProposalCountInner>,
    pub mismatch_store_id: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub region_not_found: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub not_leader: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub mismatch_peer_id: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub stale_command: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub epoch_not_match: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub read_index_no_leader: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub region_not_initialized: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
    pub is_applying_snapshot: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>,
}

Fields

inner: &'static LocalKey<RaftInvalidProposalCountInner>mismatch_store_id: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>region_not_found: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>not_leader: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>mismatch_peer_id: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>stale_command: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>epoch_not_match: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>read_index_no_leader: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>region_not_initialized: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>is_applying_snapshot: AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>

Implementations

impl RaftInvalidProposalCount[src]

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

pub fn get(
    &self,
    enum_value: RaftInvalidProposal
) -> &AFLocalCounter<RaftInvalidProposalCountInner, LocalIntCounter, RaftInvalidProposalCountDelegator>
[src]

pub fn flush(&self)[src]

Auto Trait Implementations

impl !RefUnwindSafe for RaftInvalidProposalCount

impl Send for RaftInvalidProposalCount

impl Sync for RaftInvalidProposalCount

impl Unpin for RaftInvalidProposalCount

impl UnwindSafe for RaftInvalidProposalCount

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]