pub struct CacheEntry {
pub key: String,
pub data: Vec<u8>,
pub size_bytes: usize,
pub access_count: u64,
pub last_access: u64,
}Fields§
§key: String§data: Vec<u8>§size_bytes: usize§access_count: u64§last_access: u64Auto Trait Implementations§
impl Freeze for CacheEntry
impl RefUnwindSafe for CacheEntry
impl Send for CacheEntry
impl Sync for CacheEntry
impl Unpin for CacheEntry
impl UnsafeUnpin for CacheEntry
impl UnwindSafe for CacheEntry
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