pub struct TtlCache<K, V, IP, EP> where
K: Hash + Eq,
IP: Default + InsertionPolicy<K>,
EP: Default + EvictionPolicy<K>, { /* private fields */ }
Implementations
Trait Implementations
Auto Trait Implementations
impl<K, V, IP, EP> RefUnwindSafe for TtlCache<K, V, IP, EP> where
EP: RefUnwindSafe,
IP: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, IP, EP> Send for TtlCache<K, V, IP, EP> where
EP: Send,
IP: Send,
K: Send,
V: Send,
impl<K, V, IP, EP> Sync for TtlCache<K, V, IP, EP> where
EP: Sync,
IP: Sync,
K: Sync,
V: Sync,
impl<K, V, IP, EP> Unpin for TtlCache<K, V, IP, EP> where
EP: Unpin,
IP: Unpin,
K: Unpin,
V: Unpin,
impl<K, V, IP, EP> UnwindSafe for TtlCache<K, V, IP, EP> where
EP: UnwindSafe,
IP: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more