Struct kvproto::coprocessor::BatchResponse[][src]

pub struct BatchResponse {
    pub data: Vec<u8>,
    pub other_error: String,
    pub exec_details: SingularPtrField<ExecDetails>,
    pub retry_regions: RepeatedField<Region>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

data: Vec<u8>other_error: Stringexec_details: SingularPtrField<ExecDetails>retry_regions: RepeatedField<Region>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BatchResponse[src]

pub fn new() -> BatchResponse[src]

pub fn get_data(&self) -> &[u8][src]

pub fn clear_data(&mut self)[src]

pub fn set_data(&mut self, v: Vec<u8>)[src]

pub fn mut_data(&mut self) -> &mut Vec<u8>[src]

pub fn take_data(&mut self) -> Vec<u8>[src]

pub fn get_other_error(&self) -> &str[src]

pub fn clear_other_error(&mut self)[src]

pub fn set_other_error(&mut self, v: String)[src]

pub fn mut_other_error(&mut self) -> &mut String[src]

pub fn take_other_error(&mut self) -> String[src]

pub fn get_exec_details(&self) -> &ExecDetails[src]

pub fn clear_exec_details(&mut self)[src]

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

pub fn set_exec_details(&mut self, v: ExecDetails)[src]

pub fn mut_exec_details(&mut self) -> &mut ExecDetails[src]

pub fn take_exec_details(&mut self) -> ExecDetails[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 BatchResponse[src]

impl Clone for BatchResponse[src]

impl Debug for BatchResponse[src]

impl Default for BatchResponse[src]

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

impl Message for BatchResponse[src]

impl PartialEq<BatchResponse> for BatchResponse[src]

impl PbPrint for BatchResponse[src]

impl ProtobufValue for BatchResponse[src]

impl StructuralPartialEq for BatchResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for BatchResponse

impl Send for BatchResponse

impl Sync for BatchResponse

impl Unpin for BatchResponse

impl UnwindSafe for BatchResponse

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.