pub struct SizeCacheEntry {
pub key: String,
pub size_bytes: usize,
pub access_count: u64,
pub last_access: u64,
}Expand description
An entry in the size cache.
Fields§
§key: String§size_bytes: usize§access_count: u64§last_access: u64Trait Implementations§
Source§impl Clone for SizeCacheEntry
impl Clone for SizeCacheEntry
Source§fn clone(&self) -> SizeCacheEntry
fn clone(&self) -> SizeCacheEntry
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 moreAuto Trait Implementations§
impl Freeze for SizeCacheEntry
impl RefUnwindSafe for SizeCacheEntry
impl Send for SizeCacheEntry
impl Sync for SizeCacheEntry
impl Unpin for SizeCacheEntry
impl UnsafeUnpin for SizeCacheEntry
impl UnwindSafe for SizeCacheEntry
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