pub struct MemoryStats {
pub capacity_bytes: u64,
pub entries: u64,
pub bytes: u64,
pub pending: u64,
}Expand description
Counters describing the tier’s contents.
Fields§
§capacity_bytes: u64The configured budget in bytes (0: the tier is off).
entries: u64Slots held.
bytes: u64Bytes charged for them (replies plus SLOT_OVERHEAD each).
pending: u64Slots whose disk write is still queued.
Trait Implementations§
Source§impl Clone for MemoryStats
impl Clone for MemoryStats
impl Copy for MemoryStats
Source§impl Debug for MemoryStats
impl Debug for MemoryStats
Source§impl Default for MemoryStats
impl Default for MemoryStats
Source§impl<'de> Deserialize<'de> for MemoryStats
impl<'de> Deserialize<'de> for MemoryStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryStats
Source§impl PartialEq for MemoryStats
impl PartialEq for MemoryStats
Source§impl Serialize for MemoryStats
impl Serialize for MemoryStats
impl StructuralPartialEq for MemoryStats
Auto Trait Implementations§
impl Forget for MemoryStats
impl Freeze for MemoryStats
impl Move 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