Struct fred::types::MemoryStats
source · pub struct MemoryStats {Show 26 fields
pub peak_allocated: u64,
pub total_allocated: u64,
pub startup_allocated: u64,
pub replication_backlog: u64,
pub clients_slaves: u64,
pub clients_normal: u64,
pub aof_buffer: u64,
pub lua_caches: u64,
pub overhead_total: u64,
pub keys_count: u64,
pub keys_bytes_per_key: u64,
pub dataset_bytes: u64,
pub dataset_percentage: f64,
pub peak_percentage: f64,
pub fragmentation: f64,
pub fragmentation_bytes: u64,
pub rss_overhead_ratio: f64,
pub rss_overhead_bytes: u64,
pub allocator_allocated: u64,
pub allocator_active: u64,
pub allocator_resident: u64,
pub allocator_fragmentation_ratio: f64,
pub allocator_fragmentation_bytes: u64,
pub allocator_rss_ratio: f64,
pub allocator_rss_bytes: u64,
pub db: HashMap<u16, DatabaseMemoryStats>,
}
Available on crate feature
i-memory
only.Expand description
The parsed result of the MEMORY STATS command.
Fields§
§peak_allocated: u64
§total_allocated: u64
§startup_allocated: u64
§replication_backlog: u64
§clients_slaves: u64
§clients_normal: u64
§aof_buffer: u64
§lua_caches: u64
§overhead_total: u64
§keys_count: u64
§keys_bytes_per_key: u64
§dataset_bytes: u64
§dataset_percentage: f64
§peak_percentage: f64
§fragmentation: f64
§fragmentation_bytes: u64
§rss_overhead_ratio: f64
§rss_overhead_bytes: u64
§allocator_allocated: u64
§allocator_active: u64
§allocator_resident: u64
§allocator_fragmentation_ratio: f64
§allocator_fragmentation_bytes: u64
§allocator_rss_ratio: f64
§allocator_rss_bytes: u64
§db: HashMap<u16, DatabaseMemoryStats>
Trait Implementations§
source§impl Clone for MemoryStats
impl Clone for MemoryStats
source§fn clone(&self) -> MemoryStats
fn clone(&self) -> MemoryStats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MemoryStats
impl Debug for MemoryStats
source§impl Default for MemoryStats
impl Default for MemoryStats
source§impl FromRedis for MemoryStats
impl FromRedis for MemoryStats
fn from_value(value: RedisValue) -> Result<Self, RedisError>
source§impl PartialEq for MemoryStats
impl PartialEq for MemoryStats
source§impl TryFrom<RedisValue> for MemoryStats
impl TryFrom<RedisValue> for MemoryStats
§type Error = RedisError
type Error = RedisError
The type returned in the event of a conversion error.
impl Eq 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 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