Struct kvproto::enginepb::CommandResponse [−][src]
Fields
header: SingularPtrField<CommandResponseHeader>
apply_state: SingularPtrField<RaftApplyState>
applied_term: u64
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl CommandResponse
[src][−]
pub fn new() -> CommandResponse
[src]
pub fn get_header(&self) -> &CommandResponseHeader
[src]
pub fn clear_header(&mut self)
[src]
pub fn has_header(&self) -> bool
[src]
pub fn set_header(&mut self, v: CommandResponseHeader)
[src]
pub fn mut_header(&mut self) -> &mut CommandResponseHeader
[src]
pub fn take_header(&mut self) -> CommandResponseHeader
[src]
pub fn get_apply_state(&self) -> &RaftApplyState
[src]
pub fn clear_apply_state(&mut self)
[src]
pub fn has_apply_state(&self) -> bool
[src]
pub fn set_apply_state(&mut self, v: RaftApplyState)
[src]
pub fn mut_apply_state(&mut self) -> &mut RaftApplyState
[src]
pub fn take_apply_state(&mut self) -> RaftApplyState
[src]
pub fn get_applied_term(&self) -> u64
[src]
pub fn clear_applied_term(&mut self)
[src]
pub fn set_applied_term(&mut self, v: u64)
[src]
Trait Implementations
impl Clear for CommandResponse
[src][+]
impl Clone for CommandResponse
[src][+]
impl Debug for CommandResponse
[src][+]
impl Default for CommandResponse
[src][+]
impl<'a> Default for &'a CommandResponse
[src][+]
impl Message for CommandResponse
[src][+]
impl PartialEq<CommandResponse> for CommandResponse
[src][+]
impl PbPrint for CommandResponse
[src][+]
impl ProtobufValue for CommandResponse
[src][+]
impl StructuralPartialEq for CommandResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommandResponse
impl Send for CommandResponse
impl Sync for CommandResponse
impl Unpin for CommandResponse
impl UnwindSafe for CommandResponse
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>,