Struct raftstore::store::util::RegionReadProgressCore[][src]

struct RegionReadProgressCore {
    applied_index: u64,
    read_state: ReadState,
    pending_items: VecDeque<ReadState>,
}

Fields

applied_index: u64read_state: ReadStatepending_items: VecDeque<ReadState>

Implementations

impl RegionReadProgressCore[src]

fn new(applied_index: u64, cap: usize) -> RegionReadProgressCore[src]

fn update_applied(&mut self, applied: u64) -> Option<u64>[src]

fn update_safe_ts(&mut self, idx: u64, ts: u64) -> Option<u64>[src]

fn clear(&mut self)[src]

fn push_back(&mut self, item: ReadState)[src]

Trait Implementations

impl Debug for RegionReadProgressCore[src]

impl Default for RegionReadProgressCore[src]

Auto Trait Implementations

impl RefUnwindSafe for RegionReadProgressCore

impl Send for RegionReadProgressCore

impl Sync for RegionReadProgressCore

impl Unpin for RegionReadProgressCore

impl UnwindSafe for RegionReadProgressCore

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]