Struct kvproto::tikvpb::BatchRaftMessage[][src]

pub struct BatchRaftMessage {
    pub msgs: RepeatedField<RaftMessage>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

msgs: RepeatedField<RaftMessage>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BatchRaftMessage[src]

pub fn new() -> BatchRaftMessage[src]

pub fn get_msgs(&self) -> &[RaftMessage][src]

pub fn clear_msgs(&mut self)[src]

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

pub fn mut_msgs(&mut self) -> &mut RepeatedField<RaftMessage>[src]

pub fn take_msgs(&mut self) -> RepeatedField<RaftMessage>[src]

Trait Implementations

impl Clear for BatchRaftMessage[src]

impl Clone for BatchRaftMessage[src]

impl Debug for BatchRaftMessage[src]

impl Default for BatchRaftMessage[src]

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

impl Message for BatchRaftMessage[src]

impl PartialEq<BatchRaftMessage> for BatchRaftMessage[src]

impl PbPrint for BatchRaftMessage[src]

impl ProtobufValue for BatchRaftMessage[src]

impl StructuralPartialEq for BatchRaftMessage[src]

Auto Trait Implementations

impl RefUnwindSafe for BatchRaftMessage

impl Send for BatchRaftMessage

impl Sync for BatchRaftMessage

impl Unpin for BatchRaftMessage

impl UnwindSafe for BatchRaftMessage

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.