pub enum InvalidationMessage {
All,
Pattern(String),
}Expand description
Messages sent via the broadcast channel to invalidate cache entries.
Variants§
All
Invalidate all cache entries.
Pattern(String)
Invalidate cache entries whose key matches a pattern (supports wildcards).
Trait Implementations§
Source§impl Clone for InvalidationMessage
impl Clone for InvalidationMessage
Source§fn clone(&self) -> InvalidationMessage
fn clone(&self) -> InvalidationMessage
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 InvalidationMessage
impl RefUnwindSafe for InvalidationMessage
impl Send for InvalidationMessage
impl Sync for InvalidationMessage
impl Unpin for InvalidationMessage
impl UnsafeUnpin for InvalidationMessage
impl UnwindSafe for InvalidationMessage
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