pub struct MemoryStats {
pub total_budget: usize,
pub current_usage: usize,
pub message_buffer_bytes: usize,
pub raft_log_cache_bytes: usize,
pub connection_pool_bytes: usize,
pub block_cache_bytes: usize,
pub budget_exceeded: bool,
}Fields§
§total_budget: usize§current_usage: usize§message_buffer_bytes: usize§raft_log_cache_bytes: usize§connection_pool_bytes: usize§block_cache_bytes: usize§budget_exceeded: boolTrait Implementations§
Source§impl Clone for MemoryStats
impl Clone for MemoryStats
Source§fn clone(&self) -> MemoryStats
fn clone(&self) -> MemoryStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryStats
Source§impl Debug for MemoryStats
impl Debug for MemoryStats
Source§impl Default for MemoryStats
impl Default for MemoryStats
Source§fn default() -> MemoryStats
fn default() -> MemoryStats
Returns the “default value” for a type. Read more
impl Eq for MemoryStats
Source§impl PartialEq for MemoryStats
impl PartialEq for MemoryStats
impl StructuralPartialEq for MemoryStats
Auto Trait Implementations§
impl Freeze for MemoryStats
impl RefUnwindSafe for MemoryStats
impl Send for MemoryStats
impl Sync for MemoryStats
impl Unpin for MemoryStats
impl UnsafeUnpin for MemoryStats
impl UnwindSafe for MemoryStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more