Struct kvproto::errorpb::ServerIsBusy[][src]

pub struct ServerIsBusy {
    pub reason: String,
    pub backoff_ms: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

reason: Stringbackoff_ms: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ServerIsBusy[src]

pub fn new() -> ServerIsBusy[src]

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

pub fn clear_reason(&mut self)[src]

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

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

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

pub fn get_backoff_ms(&self) -> u64[src]

pub fn clear_backoff_ms(&mut self)[src]

pub fn set_backoff_ms(&mut self, v: u64)[src]

Trait Implementations

impl Clear for ServerIsBusy[src]

impl Clone for ServerIsBusy[src]

impl Debug for ServerIsBusy[src]

impl Default for ServerIsBusy[src]

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

impl Message for ServerIsBusy[src]

impl PartialEq<ServerIsBusy> for ServerIsBusy[src]

impl PbPrint for ServerIsBusy[src]

impl ProtobufValue for ServerIsBusy[src]

impl StructuralPartialEq for ServerIsBusy[src]

Auto Trait Implementations

impl RefUnwindSafe for ServerIsBusy

impl Send for ServerIsBusy

impl Sync for ServerIsBusy

impl Unpin for ServerIsBusy

impl UnwindSafe for ServerIsBusy

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.