Struct raftstore::store::local_metrics::RaftInvalidProposeMetrics[][src]

pub struct RaftInvalidProposeMetrics {
    pub mismatch_store_id: u64,
    pub region_not_found: u64,
    pub not_leader: u64,
    pub mismatch_peer_id: u64,
    pub stale_command: u64,
    pub epoch_not_match: u64,
    pub read_index_no_leader: u64,
    pub region_not_initialized: u64,
    pub is_applying_snapshot: u64,
}

The buffered metrics counter for invalid propose

Fields

mismatch_store_id: u64region_not_found: u64not_leader: u64mismatch_peer_id: u64stale_command: u64epoch_not_match: u64read_index_no_leader: u64region_not_initialized: u64is_applying_snapshot: u64

Implementations

impl RaftInvalidProposeMetrics[src]

fn flush(&mut self)[src]

Trait Implementations

impl Clone for RaftInvalidProposeMetrics[src]

impl Default for RaftInvalidProposeMetrics[src]

Auto Trait Implementations

impl RefUnwindSafe for RaftInvalidProposeMetrics

impl Send for RaftInvalidProposeMetrics

impl Sync for RaftInvalidProposeMetrics

impl Unpin for RaftInvalidProposeMetrics

impl UnwindSafe for RaftInvalidProposeMetrics

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]