pub enum CleanupMode {
OnAccess,
OnDemand,
}Variants§
OnAccess
Автоматическая очистка при каждом доступе
OnDemand
Только при ручном вызове evict_expired()
Auto Trait Implementations§
impl Freeze for CleanupMode
impl RefUnwindSafe for CleanupMode
impl Send for CleanupMode
impl Sync for CleanupMode
impl Unpin for CleanupMode
impl UnwindSafe for CleanupMode
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