Struct kvproto::debugpb::GetMetricsResponse [−][src]
Fields
prometheus: String
rocksdb_kv: String
rocksdb_raft: String
jemalloc: String
store_id: u64
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl GetMetricsResponse
[src][−]
pub fn new() -> GetMetricsResponse
[src]
pub fn get_prometheus(&self) -> &str
[src]
pub fn clear_prometheus(&mut self)
[src]
pub fn set_prometheus(&mut self, v: String)
[src]
pub fn mut_prometheus(&mut self) -> &mut String
[src]
pub fn take_prometheus(&mut self) -> String
[src]
pub fn get_rocksdb_kv(&self) -> &str
[src]
pub fn clear_rocksdb_kv(&mut self)
[src]
pub fn set_rocksdb_kv(&mut self, v: String)
[src]
pub fn mut_rocksdb_kv(&mut self) -> &mut String
[src]
pub fn take_rocksdb_kv(&mut self) -> String
[src]
pub fn get_rocksdb_raft(&self) -> &str
[src]
pub fn clear_rocksdb_raft(&mut self)
[src]
pub fn set_rocksdb_raft(&mut self, v: String)
[src]
pub fn mut_rocksdb_raft(&mut self) -> &mut String
[src]
pub fn take_rocksdb_raft(&mut self) -> String
[src]
pub fn get_jemalloc(&self) -> &str
[src]
pub fn clear_jemalloc(&mut self)
[src]
pub fn set_jemalloc(&mut self, v: String)
[src]
pub fn mut_jemalloc(&mut self) -> &mut String
[src]
pub fn take_jemalloc(&mut self) -> String
[src]
pub fn get_store_id(&self) -> u64
[src]
pub fn clear_store_id(&mut self)
[src]
pub fn set_store_id(&mut self, v: u64)
[src]
Trait Implementations
impl Clear for GetMetricsResponse
[src][+]
impl Clone for GetMetricsResponse
[src][+]
impl Debug for GetMetricsResponse
[src][+]
impl Default for GetMetricsResponse
[src][+]
impl<'a> Default for &'a GetMetricsResponse
[src][+]
impl Message for GetMetricsResponse
[src][+]
impl PartialEq<GetMetricsResponse> for GetMetricsResponse
[src][+]
impl PbPrint for GetMetricsResponse
[src][+]
impl ProtobufValue for GetMetricsResponse
[src][+]
impl StructuralPartialEq for GetMetricsResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for GetMetricsResponse
impl Send for GetMetricsResponse
impl Sync for GetMetricsResponse
impl Unpin for GetMetricsResponse
impl UnwindSafe for GetMetricsResponse
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>,