pub struct BlobCacheStats {
pub hits: u64,
pub misses: u64,
pub inserts: u64,
}Fields§
§hits: u64§misses: u64§inserts: u64Trait Implementations§
Source§impl Clone for BlobCacheStats
impl Clone for BlobCacheStats
Source§fn clone(&self) -> BlobCacheStats
fn clone(&self) -> BlobCacheStats
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 BlobCacheStats
Source§impl Debug for BlobCacheStats
impl Debug for BlobCacheStats
Source§impl Default for BlobCacheStats
impl Default for BlobCacheStats
Source§fn default() -> BlobCacheStats
fn default() -> BlobCacheStats
Returns the “default value” for a type. Read more
impl Eq for BlobCacheStats
Source§impl PartialEq for BlobCacheStats
impl PartialEq for BlobCacheStats
Source§fn eq(&self, other: &BlobCacheStats) -> bool
fn eq(&self, other: &BlobCacheStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlobCacheStats
Auto Trait Implementations§
impl Freeze for BlobCacheStats
impl RefUnwindSafe for BlobCacheStats
impl Send for BlobCacheStats
impl Sync for BlobCacheStats
impl Unpin for BlobCacheStats
impl UnsafeUnpin for BlobCacheStats
impl UnwindSafe for BlobCacheStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.