pub struct StoreStats {
pub stored: usize,
pub capacity: usize,
pub total_pushed: u64,
pub evicted: u64,
}Expand description
Store statistics.
Fields§
§stored: usize§capacity: usize§total_pushed: u64§evicted: u64Trait Implementations§
Source§impl Clone for StoreStats
impl Clone for StoreStats
Source§fn clone(&self) -> StoreStats
fn clone(&self) -> StoreStats
Returns a duplicate 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 StoreStats
impl Debug for StoreStats
Source§impl<'de> Deserialize<'de> for StoreStats
impl<'de> Deserialize<'de> for StoreStats
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
Auto Trait Implementations§
impl Freeze for StoreStats
impl RefUnwindSafe for StoreStats
impl Send for StoreStats
impl Sync for StoreStats
impl Unpin for StoreStats
impl UnsafeUnpin for StoreStats
impl UnwindSafe for StoreStats
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