Struct kvproto::raft_serverpb::RaftTruncatedState[][src]

pub struct RaftTruncatedState {
    pub index: u64,
    pub term: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

index: u64term: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RaftTruncatedState[src]

pub fn new() -> RaftTruncatedState[src]

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

pub fn clear_index(&mut self)[src]

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

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

pub fn clear_term(&mut self)[src]

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

Trait Implementations

impl Clear for RaftTruncatedState[src]

impl Clone for RaftTruncatedState[src]

impl Debug for RaftTruncatedState[src]

impl Default for RaftTruncatedState[src]

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

impl Message for RaftTruncatedState[src]

impl PartialEq<RaftTruncatedState> for RaftTruncatedState[src]

impl PbPrint for RaftTruncatedState[src]

impl ProtobufValue for RaftTruncatedState[src]

impl StructuralPartialEq for RaftTruncatedState[src]

Auto Trait Implementations

impl RefUnwindSafe for RaftTruncatedState

impl Send for RaftTruncatedState

impl Sync for RaftTruncatedState

impl Unpin for RaftTruncatedState

impl UnwindSafe for RaftTruncatedState

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.