Struct kvproto::kvrpcpb::ReadIndexResponse [−][src]
Fields
region_error: SingularPtrField<Error>
read_index: u64
locked: SingularPtrField<LockInfo>
unknown_fields: UnknownFields
cached_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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,