Struct kvproto::import_sstpb::WriteResponse[][src]

pub struct WriteResponse {
    pub error: SingularPtrField<Error>,
    pub metas: RepeatedField<SstMeta>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

error: SingularPtrField<Error>metas: RepeatedField<SstMeta>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl WriteResponse[src]

pub fn new() -> WriteResponse[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_metas(&self) -> &[SstMeta][src]

pub fn clear_metas(&mut self)[src]

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

pub fn mut_metas(&mut self) -> &mut RepeatedField<SstMeta>[src]

pub fn take_metas(&mut self) -> RepeatedField<SstMeta>[src]

Trait Implementations

impl Clear for WriteResponse[src]

impl Clone for WriteResponse[src]

impl Debug for WriteResponse[src]

impl Default for WriteResponse[src]

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

impl Message for WriteResponse[src]

impl PartialEq<WriteResponse> for WriteResponse[src]

impl PbPrint for WriteResponse[src]

impl ProtobufValue for WriteResponse[src]

impl StructuralPartialEq for WriteResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for WriteResponse

impl Send for WriteResponse

impl Sync for WriteResponse

impl Unpin for WriteResponse

impl UnwindSafe for WriteResponse

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.