Struct kvproto::pdpb::RegionStat [−][src]
Fields
bytes_written: u64
bytes_read: u64
keys_written: u64
keys_read: u64
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl RegionStat
[src][−]
pub fn new() -> RegionStat
[src]
pub fn get_bytes_written(&self) -> u64
[src]
pub fn clear_bytes_written(&mut self)
[src]
pub fn set_bytes_written(&mut self, v: u64)
[src]
pub fn get_bytes_read(&self) -> u64
[src]
pub fn clear_bytes_read(&mut self)
[src]
pub fn set_bytes_read(&mut self, v: u64)
[src]
pub fn get_keys_written(&self) -> u64
[src]
pub fn clear_keys_written(&mut self)
[src]
pub fn set_keys_written(&mut self, v: u64)
[src]
pub fn get_keys_read(&self) -> u64
[src]
pub fn clear_keys_read(&mut self)
[src]
pub fn set_keys_read(&mut self, v: u64)
[src]
Trait Implementations
impl Clear for RegionStat
[src][+]
impl Clone for RegionStat
[src][+]
impl Debug for RegionStat
[src][+]
impl Default for RegionStat
[src][+]
impl<'a> Default for &'a RegionStat
[src][+]
impl Message for RegionStat
[src][+]
impl PartialEq<RegionStat> for RegionStat
[src][+]
impl PbPrint for RegionStat
[src][+]
impl ProtobufValue for RegionStat
[src][+]
impl StructuralPartialEq for RegionStat
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegionStat
impl Send for RegionStat
impl Sync for RegionStat
impl Unpin for RegionStat
impl UnwindSafe for RegionStat
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>,