Struct kvproto::cdcpb::Error [−][src]
Fields
not_leader: SingularPtrField<NotLeader>
region_not_found: SingularPtrField<RegionNotFound>
epoch_not_match: SingularPtrField<EpochNotMatch>
duplicate_request: SingularPtrField<DuplicateRequest>
compatibility: SingularPtrField<Compatibility>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl Error
[src][−]
pub fn new() -> Error
[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_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_duplicate_request(&self) -> &DuplicateRequest
[src]
pub fn clear_duplicate_request(&mut self)
[src]
pub fn has_duplicate_request(&self) -> bool
[src]
pub fn set_duplicate_request(&mut self, v: DuplicateRequest)
[src]
pub fn mut_duplicate_request(&mut self) -> &mut DuplicateRequest
[src]
pub fn take_duplicate_request(&mut self) -> DuplicateRequest
[src]
pub fn get_compatibility(&self) -> &Compatibility
[src]
pub fn clear_compatibility(&mut self)
[src]
pub fn has_compatibility(&self) -> bool
[src]
pub fn set_compatibility(&mut self, v: Compatibility)
[src]
pub fn mut_compatibility(&mut self) -> &mut Compatibility
[src]
pub fn take_compatibility(&mut self) -> Compatibility
[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>,