Struct kvproto::pdpb::PeerStat[][src]

pub struct PeerStat {
    pub region_id: u64,
    pub read_keys: u64,
    pub read_bytes: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

region_id: u64read_keys: u64read_bytes: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl PeerStat[src]

pub fn new() -> PeerStat[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]

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

pub fn clear_read_keys(&mut self)[src]

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

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

pub fn clear_read_bytes(&mut self)[src]

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

Trait Implementations

impl Clear for PeerStat[src]

impl Clone for PeerStat[src]

impl Debug for PeerStat[src]

impl Default for PeerStat[src]

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

impl Message for PeerStat[src]

impl PartialEq<PeerStat> for PeerStat[src]

impl PbPrint for PeerStat[src]

impl ProtobufValue for PeerStat[src]

impl StructuralPartialEq for PeerStat[src]

Auto Trait Implementations

impl RefUnwindSafe for PeerStat

impl Send for PeerStat

impl Sync for PeerStat

impl Unpin for PeerStat

impl UnwindSafe for PeerStat

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.