Struct kvproto::pdpb::StoreStats [−][src]
Fields
store_id: u64
capacity: u64
available: u64
region_count: u32
sending_snap_count: u32
receiving_snap_count: u32
start_time: u32
applying_snap_count: u32
is_busy: bool
used_size: u64
bytes_written: u64
keys_written: u64
bytes_read: u64
keys_read: u64
interval: SingularPtrField<TimeInterval>
cpu_usages: RepeatedField<RecordPair>
read_io_rates: RepeatedField<RecordPair>
write_io_rates: RepeatedField<RecordPair>
op_latencies: RepeatedField<RecordPair>
peer_stats: RepeatedField<PeerStat>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl StoreStats
[src]
pub fn new() -> StoreStats
[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]
pub fn get_capacity(&self) -> u64
[src]
pub fn clear_capacity(&mut self)
[src]
pub fn set_capacity(&mut self, v: u64)
[src]
pub fn get_available(&self) -> u64
[src]
pub fn clear_available(&mut self)
[src]
pub fn set_available(&mut self, v: u64)
[src]
pub fn get_region_count(&self) -> u32
[src]
pub fn clear_region_count(&mut self)
[src]
pub fn set_region_count(&mut self, v: u32)
[src]
pub fn get_sending_snap_count(&self) -> u32
[src]
pub fn clear_sending_snap_count(&mut self)
[src]
pub fn set_sending_snap_count(&mut self, v: u32)
[src]
pub fn get_receiving_snap_count(&self) -> u32
[src]
pub fn clear_receiving_snap_count(&mut self)
[src]
pub fn set_receiving_snap_count(&mut self, v: u32)
[src]
pub fn get_start_time(&self) -> u32
[src]
pub fn clear_start_time(&mut self)
[src]
pub fn set_start_time(&mut self, v: u32)
[src]
pub fn get_applying_snap_count(&self) -> u32
[src]
pub fn clear_applying_snap_count(&mut self)
[src]
pub fn set_applying_snap_count(&mut self, v: u32)
[src]
pub fn get_is_busy(&self) -> bool
[src]
pub fn clear_is_busy(&mut self)
[src]
pub fn set_is_busy(&mut self, v: bool)
[src]
pub fn get_used_size(&self) -> u64
[src]
pub fn clear_used_size(&mut self)
[src]
pub fn set_used_size(&mut self, v: u64)
[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_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_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_read(&self) -> u64
[src]
pub fn clear_keys_read(&mut self)
[src]
pub fn set_keys_read(&mut self, v: u64)
[src]
pub fn get_interval(&self) -> &TimeInterval
[src]
pub fn clear_interval(&mut self)
[src]
pub fn has_interval(&self) -> bool
[src]
pub fn set_interval(&mut self, v: TimeInterval)
[src]
pub fn mut_interval(&mut self) -> &mut TimeInterval
[src]
pub fn take_interval(&mut self) -> TimeInterval
[src]
pub fn get_cpu_usages(&self) -> &[RecordPair]
[src]
pub fn clear_cpu_usages(&mut self)
[src]
pub fn set_cpu_usages(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_cpu_usages(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_cpu_usages(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_read_io_rates(&self) -> &[RecordPair]
[src]
pub fn clear_read_io_rates(&mut self)
[src]
pub fn set_read_io_rates(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_read_io_rates(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_read_io_rates(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_write_io_rates(&self) -> &[RecordPair]
[src]
pub fn clear_write_io_rates(&mut self)
[src]
pub fn set_write_io_rates(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_write_io_rates(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_write_io_rates(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_op_latencies(&self) -> &[RecordPair]
[src]
pub fn clear_op_latencies(&mut self)
[src]
pub fn set_op_latencies(&mut self, v: RepeatedField<RecordPair>)
[src]
pub fn mut_op_latencies(&mut self) -> &mut RepeatedField<RecordPair>
[src]
pub fn take_op_latencies(&mut self) -> RepeatedField<RecordPair>
[src]
pub fn get_peer_stats(&self) -> &[PeerStat]
[src]
pub fn clear_peer_stats(&mut self)
[src]
pub fn set_peer_stats(&mut self, v: RepeatedField<PeerStat>)
[src]
pub fn mut_peer_stats(&mut self) -> &mut RepeatedField<PeerStat>
[src]
pub fn take_peer_stats(&mut self) -> RepeatedField<PeerStat>
[src]
Trait Implementations
impl Clear for StoreStats
[src]
impl Clone for StoreStats
[src]
fn clone(&self) -> StoreStats
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StoreStats
[src]
impl Default for StoreStats
[src]
fn default() -> StoreStats
[src]
impl<'a> Default for &'a StoreStats
[src]
fn default() -> &'a StoreStats
[src]
impl Message for StoreStats
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> StoreStats
[src]
fn default_instance() -> &'static StoreStats
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
pub fn descriptor_static() -> &'static MessageDescriptor
[src]
impl PartialEq<StoreStats> for StoreStats
[src]
fn eq(&self, other: &StoreStats) -> bool
[src]
fn ne(&self, other: &StoreStats) -> bool
[src]
impl PbPrint for StoreStats
[src]
impl ProtobufValue for StoreStats
[src]
fn as_ref(&self) -> ProtobufValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
impl StructuralPartialEq for StoreStats
[src]
Auto Trait Implementations
impl RefUnwindSafe for StoreStats
impl Send for StoreStats
impl Sync for StoreStats
impl Unpin for StoreStats
impl UnwindSafe for StoreStats
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,