Struct kvproto::raft_serverpb::MergeState[][src]

pub struct MergeState {
    pub min_index: u64,
    pub target: SingularPtrField<Region>,
    pub commit: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

min_index: u64target: SingularPtrField<Region>commit: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl MergeState[src]

pub fn new() -> MergeState[src]

pub fn get_min_index(&self) -> u64[src]

pub fn clear_min_index(&mut self)[src]

pub fn set_min_index(&mut self, v: u64)[src]

pub fn get_target(&self) -> &Region[src]

pub fn clear_target(&mut self)[src]

pub fn has_target(&self) -> bool[src]

pub fn set_target(&mut self, v: Region)[src]

pub fn mut_target(&mut self) -> &mut Region[src]

pub fn take_target(&mut self) -> Region[src]

pub fn get_commit(&self) -> u64[src]

pub fn clear_commit(&mut self)[src]

pub fn set_commit(&mut self, v: u64)[src]

Trait Implementations

impl Clear for MergeState[src]

impl Clone for MergeState[src]

impl Debug for MergeState[src]

impl Default for MergeState[src]

impl<'a> Default for &'a MergeState[src]

impl Message for MergeState[src]

impl PartialEq<MergeState> for MergeState[src]

impl PbPrint for MergeState[src]

impl ProtobufValue for MergeState[src]

impl StructuralPartialEq for MergeState[src]

Auto Trait Implementations

impl RefUnwindSafe for MergeState

impl Send for MergeState

impl Sync for MergeState

impl Unpin for MergeState

impl UnwindSafe for MergeState

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.