pub struct ParserCacheStats {
pub cache_size: usize,
pub cache_hits: u64,
pub cache_misses: u64,
pub hit_rate: f64,
}Expand description
Parser cache statistics
Fields§
§cache_size: usize§cache_hits: u64§cache_misses: u64§hit_rate: f64Trait Implementations§
Source§impl Clone for ParserCacheStats
impl Clone for ParserCacheStats
Source§fn clone(&self) -> ParserCacheStats
fn clone(&self) -> ParserCacheStats
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 ParserCacheStats
impl Debug for ParserCacheStats
Source§impl Default for ParserCacheStats
impl Default for ParserCacheStats
Source§fn default() -> ParserCacheStats
fn default() -> ParserCacheStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserCacheStats
impl RefUnwindSafe for ParserCacheStats
impl Send for ParserCacheStats
impl Sync for ParserCacheStats
impl Unpin for ParserCacheStats
impl UnwindSafe for ParserCacheStats
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