pub enum RemoveByTagBehavior {
Expire,
Remove,
}Expand description
What Cache::remove_by_tag does to matched
entries.
Variants§
Expire
Logically expire matched entries (fail-safe can still serve them). This is the FusionCache default.
Remove
Hard-remove matched entries.
Trait Implementations§
Source§impl Clone for RemoveByTagBehavior
impl Clone for RemoveByTagBehavior
Source§fn clone(&self) -> RemoveByTagBehavior
fn clone(&self) -> RemoveByTagBehavior
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoveByTagBehavior
Source§impl Debug for RemoveByTagBehavior
impl Debug for RemoveByTagBehavior
Source§impl Default for RemoveByTagBehavior
impl Default for RemoveByTagBehavior
Source§fn default() -> RemoveByTagBehavior
fn default() -> RemoveByTagBehavior
Returns the “default value” for a type. Read more
impl Eq for RemoveByTagBehavior
Source§impl PartialEq for RemoveByTagBehavior
impl PartialEq for RemoveByTagBehavior
impl StructuralPartialEq for RemoveByTagBehavior
Auto Trait Implementations§
impl Freeze for RemoveByTagBehavior
impl RefUnwindSafe for RemoveByTagBehavior
impl Send for RemoveByTagBehavior
impl Sync for RemoveByTagBehavior
impl Unpin for RemoveByTagBehavior
impl UnsafeUnpin for RemoveByTagBehavior
impl UnwindSafe for RemoveByTagBehavior
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.