Struct kvproto::raft_serverpb::RaftApplyState [−][src]
Fields
applied_index: u64
last_commit_index: u64
commit_index: u64
commit_term: u64
truncated_state: SingularPtrField<RaftTruncatedState>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl RaftApplyState
[src][−]
pub fn new() -> RaftApplyState
[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_last_commit_index(&self) -> u64
[src]
pub fn clear_last_commit_index(&mut self)
[src]
pub fn set_last_commit_index(&mut self, v: u64)
[src]
pub fn get_commit_index(&self) -> u64
[src]
pub fn clear_commit_index(&mut self)
[src]
pub fn set_commit_index(&mut self, v: u64)
[src]
pub fn get_commit_term(&self) -> u64
[src]
pub fn clear_commit_term(&mut self)
[src]
pub fn set_commit_term(&mut self, v: u64)
[src]
pub fn get_truncated_state(&self) -> &RaftTruncatedState
[src]
pub fn clear_truncated_state(&mut self)
[src]
pub fn has_truncated_state(&self) -> bool
[src]
pub fn set_truncated_state(&mut self, v: RaftTruncatedState)
[src]
pub fn mut_truncated_state(&mut self) -> &mut RaftTruncatedState
[src]
pub fn take_truncated_state(&mut self) -> RaftTruncatedState
[src]
Trait Implementations
impl Clear for RaftApplyState
[src][+]
impl Clone for RaftApplyState
[src][+]
impl Debug for RaftApplyState
[src][+]
impl Default for RaftApplyState
[src][+]
impl<'a> Default for &'a RaftApplyState
[src][+]
impl Message for RaftApplyState
[src][+]
impl PartialEq<RaftApplyState> for RaftApplyState
[src][+]
impl PbPrint for RaftApplyState
[src][+]
impl ProtobufValue for RaftApplyState
[src][+]
impl StructuralPartialEq for RaftApplyState
[src]
Auto Trait Implementations
impl RefUnwindSafe for RaftApplyState
impl Send for RaftApplyState
impl Sync for RaftApplyState
impl Unpin for RaftApplyState
impl UnwindSafe for RaftApplyState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,