Struct kvproto::errorpb::ReadIndexNotReady[][src]

pub struct ReadIndexNotReady {
    pub reason: String,
    pub region_id: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

reason: Stringregion_id: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ReadIndexNotReady[src]

pub fn new() -> ReadIndexNotReady[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_region_id(&self) -> u64[src]

pub fn clear_region_id(&mut self)[src]

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

Trait Implementations

impl Clear for ReadIndexNotReady[src]

impl Clone for ReadIndexNotReady[src]

impl Debug for ReadIndexNotReady[src]

impl Default for ReadIndexNotReady[src]

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

impl Message for ReadIndexNotReady[src]

impl PartialEq<ReadIndexNotReady> for ReadIndexNotReady[src]

impl PbPrint for ReadIndexNotReady[src]

impl ProtobufValue for ReadIndexNotReady[src]

impl StructuralPartialEq for ReadIndexNotReady[src]

Auto Trait Implementations

impl RefUnwindSafe for ReadIndexNotReady

impl Send for ReadIndexNotReady

impl Sync for ReadIndexNotReady

impl Unpin for ReadIndexNotReady

impl UnwindSafe for ReadIndexNotReady

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.