Struct kvproto::kvrpcpb::ReadState[][src]

pub struct ReadState {
    pub applied_index: u64,
    pub safe_ts: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

applied_index: u64safe_ts: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ReadState[src]

pub fn new() -> ReadState[src]

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

pub fn clear_applied_index(&mut self)[src]

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

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

pub fn clear_safe_ts(&mut self)[src]

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

Trait Implementations

impl Clear for ReadState[src]

impl Clone for ReadState[src]

impl Debug for ReadState[src]

impl Default for ReadState[src]

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

impl Message for ReadState[src]

impl PartialEq<ReadState> for ReadState[src]

impl PbPrint for ReadState[src]

impl ProtobufValue for ReadState[src]

impl StructuralPartialEq for ReadState[src]

Auto Trait Implementations

impl RefUnwindSafe for ReadState

impl Send for ReadState

impl Sync for ReadState

impl Unpin for ReadState

impl UnwindSafe for ReadState

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.