Struct kvproto::pdpb::RegionStat[][src]

pub struct RegionStat {
    pub bytes_written: u64,
    pub bytes_read: u64,
    pub keys_written: u64,
    pub keys_read: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

bytes_written: u64bytes_read: u64keys_written: u64keys_read: u64unknown_fields: UnknownFieldscached_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]

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.