pub struct IdentityMetrics {
pub hits: u64,
pub misses: u64,
pub entry_count: u64,
}Expand description
Cache performance metrics.
Fields§
§hits: u64Number of cache hits.
misses: u64Number of cache misses (network lookups).
entry_count: u64Current number of entries in the cache.
Trait Implementations§
Source§impl Clone for IdentityMetrics
impl Clone for IdentityMetrics
Source§fn clone(&self) -> IdentityMetrics
fn clone(&self) -> IdentityMetrics
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 moreAuto Trait Implementations§
impl Freeze for IdentityMetrics
impl RefUnwindSafe for IdentityMetrics
impl Send for IdentityMetrics
impl Sync for IdentityMetrics
impl Unpin for IdentityMetrics
impl UnsafeUnpin for IdentityMetrics
impl UnwindSafe for IdentityMetrics
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