Struct kvproto::raft_serverpb::ExtraMessage[][src]

pub struct ExtraMessage {
    pub r_type: ExtraMessageType,
    pub premerge_commit: u64,
    pub check_peers: RepeatedField<Peer>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

r_type: ExtraMessageTypepremerge_commit: u64check_peers: RepeatedField<Peer>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ExtraMessage[src]

pub fn new() -> ExtraMessage[src]

pub fn get_type(&self) -> ExtraMessageType[src]

pub fn clear_type(&mut self)[src]

pub fn set_type(&mut self, v: ExtraMessageType)[src]

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

pub fn clear_premerge_commit(&mut self)[src]

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

pub fn get_check_peers(&self) -> &[Peer][src]

pub fn clear_check_peers(&mut self)[src]

pub fn set_check_peers(&mut self, v: RepeatedField<Peer>)[src]

pub fn mut_check_peers(&mut self) -> &mut RepeatedField<Peer>[src]

pub fn take_check_peers(&mut self) -> RepeatedField<Peer>[src]

Trait Implementations

impl Clear for ExtraMessage[src]

impl Clone for ExtraMessage[src]

impl Debug for ExtraMessage[src]

impl Default for ExtraMessage[src]

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

impl Message for ExtraMessage[src]

impl PartialEq<ExtraMessage> for ExtraMessage[src]

impl PbPrint for ExtraMessage[src]

impl ProtobufValue for ExtraMessage[src]

impl StructuralPartialEq for ExtraMessage[src]

Auto Trait Implementations

impl RefUnwindSafe for ExtraMessage

impl Send for ExtraMessage

impl Sync for ExtraMessage

impl Unpin for ExtraMessage

impl UnwindSafe for ExtraMessage

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.