Struct kvproto::kvrpcpb::RegisterLockObserverResponse[][src]

pub struct RegisterLockObserverResponse {
    pub error: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

error: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RegisterLockObserverResponse[src]

pub fn new() -> RegisterLockObserverResponse[src]

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

pub fn clear_error(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for RegisterLockObserverResponse[src]

impl Clone for RegisterLockObserverResponse[src]

impl Debug for RegisterLockObserverResponse[src]

impl Default for RegisterLockObserverResponse[src]

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

impl Message for RegisterLockObserverResponse[src]

impl PartialEq<RegisterLockObserverResponse> for RegisterLockObserverResponse[src]

impl PbPrint for RegisterLockObserverResponse[src]

impl ProtobufValue for RegisterLockObserverResponse[src]

impl StructuralPartialEq for RegisterLockObserverResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for RegisterLockObserverResponse

impl Send for RegisterLockObserverResponse

impl Sync for RegisterLockObserverResponse

impl Unpin for RegisterLockObserverResponse

impl UnwindSafe for RegisterLockObserverResponse

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.