pub struct MetadataCache {
pub data: HashMap<String, SessionMeta>,
pub last_refresh: Instant,
}Expand description
Cache for session metadata with time-based invalidation
Fields§
§data: HashMap<String, SessionMeta>§last_refresh: InstantImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetadataCache
impl RefUnwindSafe for MetadataCache
impl Send for MetadataCache
impl Sync for MetadataCache
impl Unpin for MetadataCache
impl UnwindSafe for MetadataCache
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