pub struct IncludeByteCacheStats {
pub hits: u64,
pub misses: u64,
pub entries: usize,
pub evictions: u64,
pub retained_bytes: u64,
pub loaded_bytes: u64,
pub reused_bytes: u64,
}Expand description
Per-translation-unit include byte-cache counters.
Fields§
§hits: u64Include byte lookups satisfied from this run’s in-memory cache.
misses: u64Include byte lookups that reached the loader.
entries: usizeCurrent include byte cache entries retained for this translation unit.
evictions: u64Header byte cache entries evicted to enforce translation-unit budgets.
retained_bytes: u64Bytes currently retained by the include byte cache.
loaded_bytes: u64Header bytes loaded through the include loader.
reused_bytes: u64Header bytes reused from the in-memory cache.
Trait Implementations§
Source§impl Clone for IncludeByteCacheStats
impl Clone for IncludeByteCacheStats
Source§fn clone(&self) -> IncludeByteCacheStats
fn clone(&self) -> IncludeByteCacheStats
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 IncludeByteCacheStats
Source§impl Debug for IncludeByteCacheStats
impl Debug for IncludeByteCacheStats
Source§impl Default for IncludeByteCacheStats
impl Default for IncludeByteCacheStats
Source§fn default() -> IncludeByteCacheStats
fn default() -> IncludeByteCacheStats
Returns the “default value” for a type. Read more
impl Eq for IncludeByteCacheStats
Source§impl PartialEq for IncludeByteCacheStats
impl PartialEq for IncludeByteCacheStats
impl StructuralPartialEq for IncludeByteCacheStats
Auto Trait Implementations§
impl Freeze for IncludeByteCacheStats
impl RefUnwindSafe for IncludeByteCacheStats
impl Send for IncludeByteCacheStats
impl Sync for IncludeByteCacheStats
impl Unpin for IncludeByteCacheStats
impl UnsafeUnpin for IncludeByteCacheStats
impl UnwindSafe for IncludeByteCacheStats
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
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§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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more