Struct kvproto::errorpb::Error [−][src]
Fields
message: String
not_leader: SingularPtrField<NotLeader>
region_not_found: SingularPtrField<RegionNotFound>
key_not_in_region: SingularPtrField<KeyNotInRegion>
epoch_not_match: SingularPtrField<EpochNotMatch>
server_is_busy: SingularPtrField<ServerIsBusy>
stale_command: SingularPtrField<StaleCommand>
store_not_match: SingularPtrField<StoreNotMatch>
raft_entry_too_large: SingularPtrField<RaftEntryTooLarge>
max_timestamp_not_synced: SingularPtrField<MaxTimestampNotSynced>
read_index_not_ready: SingularPtrField<ReadIndexNotReady>
proposal_in_merging_mode: SingularPtrField<ProposalInMergingMode>
data_is_not_ready: SingularPtrField<DataIsNotReady>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl Error
[src][−]
pub fn new() -> Error
[src]
pub fn get_message(&self) -> &str
[src]
pub fn clear_message(&mut self)
[src]
pub fn set_message(&mut self, v: String)
[src]
pub fn mut_message(&mut self) -> &mut String
[src]
pub fn take_message(&mut self) -> String
[src]
pub fn get_not_leader(&self) -> &NotLeader
[src]
pub fn clear_not_leader(&mut self)
[src]
pub fn has_not_leader(&self) -> bool
[src]
pub fn set_not_leader(&mut self, v: NotLeader)
[src]
pub fn mut_not_leader(&mut self) -> &mut NotLeader
[src]
pub fn take_not_leader(&mut self) -> NotLeader
[src]
pub fn get_region_not_found(&self) -> &RegionNotFound
[src]
pub fn clear_region_not_found(&mut self)
[src]
pub fn has_region_not_found(&self) -> bool
[src]
pub fn set_region_not_found(&mut self, v: RegionNotFound)
[src]
pub fn mut_region_not_found(&mut self) -> &mut RegionNotFound
[src]
pub fn take_region_not_found(&mut self) -> RegionNotFound
[src]
pub fn get_key_not_in_region(&self) -> &KeyNotInRegion
[src]
pub fn clear_key_not_in_region(&mut self)
[src]
pub fn has_key_not_in_region(&self) -> bool
[src]
pub fn set_key_not_in_region(&mut self, v: KeyNotInRegion)
[src]
pub fn mut_key_not_in_region(&mut self) -> &mut KeyNotInRegion
[src]
pub fn take_key_not_in_region(&mut self) -> KeyNotInRegion
[src]
pub fn get_epoch_not_match(&self) -> &EpochNotMatch
[src]
pub fn clear_epoch_not_match(&mut self)
[src]
pub fn has_epoch_not_match(&self) -> bool
[src]
pub fn set_epoch_not_match(&mut self, v: EpochNotMatch)
[src]
pub fn mut_epoch_not_match(&mut self) -> &mut EpochNotMatch
[src]
pub fn take_epoch_not_match(&mut self) -> EpochNotMatch
[src]
pub fn get_server_is_busy(&self) -> &ServerIsBusy
[src]
pub fn clear_server_is_busy(&mut self)
[src]
pub fn has_server_is_busy(&self) -> bool
[src]
pub fn set_server_is_busy(&mut self, v: ServerIsBusy)
[src]
pub fn mut_server_is_busy(&mut self) -> &mut ServerIsBusy
[src]
pub fn take_server_is_busy(&mut self) -> ServerIsBusy
[src]
pub fn get_stale_command(&self) -> &StaleCommand
[src]
pub fn clear_stale_command(&mut self)
[src]
pub fn has_stale_command(&self) -> bool
[src]
pub fn set_stale_command(&mut self, v: StaleCommand)
[src]
pub fn mut_stale_command(&mut self) -> &mut StaleCommand
[src]
pub fn take_stale_command(&mut self) -> StaleCommand
[src]
pub fn get_store_not_match(&self) -> &StoreNotMatch
[src]
pub fn clear_store_not_match(&mut self)
[src]
pub fn has_store_not_match(&self) -> bool
[src]
pub fn set_store_not_match(&mut self, v: StoreNotMatch)
[src]
pub fn mut_store_not_match(&mut self) -> &mut StoreNotMatch
[src]
pub fn take_store_not_match(&mut self) -> StoreNotMatch
[src]
pub fn get_raft_entry_too_large(&self) -> &RaftEntryTooLarge
[src]
pub fn clear_raft_entry_too_large(&mut self)
[src]
pub fn has_raft_entry_too_large(&self) -> bool
[src]
pub fn set_raft_entry_too_large(&mut self, v: RaftEntryTooLarge)
[src]
pub fn mut_raft_entry_too_large(&mut self) -> &mut RaftEntryTooLarge
[src]
pub fn take_raft_entry_too_large(&mut self) -> RaftEntryTooLarge
[src]
pub fn get_max_timestamp_not_synced(&self) -> &MaxTimestampNotSynced
[src]
pub fn clear_max_timestamp_not_synced(&mut self)
[src]
pub fn has_max_timestamp_not_synced(&self) -> bool
[src]
pub fn set_max_timestamp_not_synced(&mut self, v: MaxTimestampNotSynced)
[src]
pub fn mut_max_timestamp_not_synced(&mut self) -> &mut MaxTimestampNotSynced
[src]
pub fn take_max_timestamp_not_synced(&mut self) -> MaxTimestampNotSynced
[src]
pub fn get_read_index_not_ready(&self) -> &ReadIndexNotReady
[src]
pub fn clear_read_index_not_ready(&mut self)
[src]
pub fn has_read_index_not_ready(&self) -> bool
[src]
pub fn set_read_index_not_ready(&mut self, v: ReadIndexNotReady)
[src]
pub fn mut_read_index_not_ready(&mut self) -> &mut ReadIndexNotReady
[src]
pub fn take_read_index_not_ready(&mut self) -> ReadIndexNotReady
[src]
pub fn get_proposal_in_merging_mode(&self) -> &ProposalInMergingMode
[src]
pub fn clear_proposal_in_merging_mode(&mut self)
[src]
pub fn has_proposal_in_merging_mode(&self) -> bool
[src]
pub fn set_proposal_in_merging_mode(&mut self, v: ProposalInMergingMode)
[src]
pub fn mut_proposal_in_merging_mode(&mut self) -> &mut ProposalInMergingMode
[src]
pub fn take_proposal_in_merging_mode(&mut self) -> ProposalInMergingMode
[src]
pub fn get_data_is_not_ready(&self) -> &DataIsNotReady
[src]
pub fn clear_data_is_not_ready(&mut self)
[src]
pub fn has_data_is_not_ready(&self) -> bool
[src]
pub fn set_data_is_not_ready(&mut self, v: DataIsNotReady)
[src]
pub fn mut_data_is_not_ready(&mut self) -> &mut DataIsNotReady
[src]
pub fn take_data_is_not_ready(&mut self) -> DataIsNotReady
[src]
Trait Implementations
impl Clear for Error
[src][+]
impl Clone for Error
[src][+]
impl Debug for Error
[src][+]
impl Default for Error
[src][+]
impl<'a> Default for &'a Error
[src][+]
impl Message for Error
[src][+]
impl PartialEq<Error> for Error
[src][+]
impl PbPrint for Error
[src][+]
impl ProtobufValue for Error
[src][+]
impl StructuralPartialEq for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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>,