Struct kvproto::mpp::DispatchTaskResponse[][src]

pub struct DispatchTaskResponse {
    pub error: SingularPtrField<Error>,
    pub retry_regions: RepeatedField<Region>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

error: SingularPtrField<Error>retry_regions: RepeatedField<Region>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DispatchTaskResponse[src]

pub fn new() -> DispatchTaskResponse[src]

pub fn get_error(&self) -> &Error[src]

pub fn clear_error(&mut self)[src]

pub fn has_error(&self) -> bool[src]

pub fn set_error(&mut self, v: Error)[src]

pub fn mut_error(&mut self) -> &mut Error[src]

pub fn take_error(&mut self) -> Error[src]

pub fn get_retry_regions(&self) -> &[Region][src]

pub fn clear_retry_regions(&mut self)[src]

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

pub fn mut_retry_regions(&mut self) -> &mut RepeatedField<Region>[src]

pub fn take_retry_regions(&mut self) -> RepeatedField<Region>[src]

Trait Implementations

impl Clear for DispatchTaskResponse[src]

impl Clone for DispatchTaskResponse[src]

impl Debug for DispatchTaskResponse[src]

impl Default for DispatchTaskResponse[src]

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

impl Message for DispatchTaskResponse[src]

impl PartialEq<DispatchTaskResponse> for DispatchTaskResponse[src]

impl PbPrint for DispatchTaskResponse[src]

impl ProtobufValue for DispatchTaskResponse[src]

impl StructuralPartialEq for DispatchTaskResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for DispatchTaskResponse

impl Send for DispatchTaskResponse

impl Sync for DispatchTaskResponse

impl Unpin for DispatchTaskResponse

impl UnwindSafe for DispatchTaskResponse

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.