pub struct CacheStats {Show 13 fields
pub budget_bytes: u64,
pub tile_reads: u64,
pub hits: u64,
pub single_flight_waits: u64,
pub evictions: u64,
pub peak_bytes: u64,
pub resident_bytes: u64,
pub decoded_bytes_total: u64,
pub distinct_tiles_loaded: u64,
pub reloads_after_eviction: u64,
pub load_errors: u64,
pub loader_panics: u64,
pub peak_concurrent_loads: u64,
}Fields§
§budget_bytes: u64§tile_reads: u64Successful decodes (cache misses that loaded a tile).
hits: u64§single_flight_waits: u64Requests that waited for a concurrent loader of the same tile (duplicate decode avoided).
evictions: u64§peak_bytes: u64§resident_bytes: u64§decoded_bytes_total: u64§distinct_tiles_loaded: u64§reloads_after_eviction: u64tile_reads - distinct_tiles_loaded: re-decodes caused by eviction.
load_errors: u64Failed loads, including caught loader panics.
loader_panics: u64Loader panics caught and converted to errors (subset of load_errors).
peak_concurrent_loads: u64Maximum number of loaders running at once (each holds decoder transients).
Trait Implementations§
Source§impl Clone for CacheStats
impl Clone for CacheStats
Source§impl Debug for CacheStats
impl Debug for CacheStats
Source§impl Default for CacheStats
impl Default for CacheStats
Source§impl PartialEq for CacheStats
impl PartialEq for CacheStats
Source§impl Serialize for CacheStats
impl Serialize for CacheStats
impl StructuralPartialEq for CacheStats
Auto Trait Implementations§
impl Freeze for CacheStats
impl RefUnwindSafe for CacheStats
impl Send for CacheStats
impl Sync for CacheStats
impl Unpin for CacheStats
impl UnsafeUnpin for CacheStats
impl UnwindSafe for CacheStats
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, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
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<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