pub enum CacheInvalidateTarget {
Key(MessageIdExpression),
Prefix(MessageIdExpression),
}Expand description
The invalidation target of a CacheInvalidateService: an exact key or a
namespace prefix.
Variants§
Key(MessageIdExpression)
Invalidate the single entry under the resolved key.
Prefix(MessageIdExpression)
Invalidate every entry whose key starts with the resolved prefix.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CacheInvalidateTarget
impl !UnwindSafe for CacheInvalidateTarget
impl Freeze for CacheInvalidateTarget
impl Send for CacheInvalidateTarget
impl Sync for CacheInvalidateTarget
impl Unpin for CacheInvalidateTarget
impl UnsafeUnpin for CacheInvalidateTarget
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