pub struct EncodingCache {
pub hits: u64,
pub misses: u64,
/* private fields */
}Expand description
Encoding cache for frequently used values
Fields§
§hits: u64Cache hit statistics
misses: u64Cache miss statistics
Implementations§
Source§impl EncodingCache
impl EncodingCache
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EncodingCache
impl RefUnwindSafe for EncodingCache
impl Send for EncodingCache
impl Sync for EncodingCache
impl Unpin for EncodingCache
impl UnsafeUnpin for EncodingCache
impl UnwindSafe for EncodingCache
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