Struct kvproto::kvrpcpb::ReadIndexResponse[][src]

pub struct ReadIndexResponse {
    pub region_error: SingularPtrField<Error>,
    pub read_index: u64,
    pub locked: SingularPtrField<LockInfo>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

region_error: SingularPtrField<Error>read_index: u64locked: SingularPtrField<LockInfo>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ReadIndexResponse[src]

pub fn new() -> ReadIndexResponse[src]

pub fn get_region_error(&self) -> &Error[src]

pub fn clear_region_error(&mut self)[src]

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

pub fn set_region_error(&mut self, v: Error)[src]

pub fn mut_region_error(&mut self) -> &mut Error[src]

pub fn take_region_error(&mut self) -> Error[src]

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

pub fn clear_read_index(&mut self)[src]

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

pub fn get_locked(&self) -> &LockInfo[src]

pub fn clear_locked(&mut self)[src]

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

pub fn set_locked(&mut self, v: LockInfo)[src]

pub fn mut_locked(&mut self) -> &mut LockInfo[src]

pub fn take_locked(&mut self) -> LockInfo[src]

Trait Implementations

impl Clear for ReadIndexResponse[src]

impl Clone for ReadIndexResponse[src]

impl Debug for ReadIndexResponse[src]

impl Default for ReadIndexResponse[src]

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

impl Message for ReadIndexResponse[src]

impl PartialEq<ReadIndexResponse> for ReadIndexResponse[src]

impl PbPrint for ReadIndexResponse[src]

impl ProtobufValue for ReadIndexResponse[src]

impl StructuralPartialEq for ReadIndexResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for ReadIndexResponse

impl Send for ReadIndexResponse

impl Sync for ReadIndexResponse

impl Unpin for ReadIndexResponse

impl UnwindSafe for ReadIndexResponse

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.