Struct kvproto::cdcpb::Error[][src]

pub struct Error {
    pub not_leader: SingularPtrField<NotLeader>,
    pub region_not_found: SingularPtrField<RegionNotFound>,
    pub epoch_not_match: SingularPtrField<EpochNotMatch>,
    pub duplicate_request: SingularPtrField<DuplicateRequest>,
    pub compatibility: SingularPtrField<Compatibility>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

not_leader: SingularPtrField<NotLeader>region_not_found: SingularPtrField<RegionNotFound>epoch_not_match: SingularPtrField<EpochNotMatch>duplicate_request: SingularPtrField<DuplicateRequest>compatibility: SingularPtrField<Compatibility>unknown_fields: UnknownFieldscached_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]

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.