pub enum RefreshMessage {
All,
Pattern(String),
}Expand description
Enum representing different types of cache refresh triggers
Variants§
All
Refresh all cache entries
Pattern(String)
Refresh cache entries matching a pattern (supports wildcards)
Trait Implementations§
Source§impl Clone for RefreshMessage
impl Clone for RefreshMessage
Source§fn clone(&self) -> RefreshMessage
fn clone(&self) -> RefreshMessage
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 RefreshMessage
impl RefUnwindSafe for RefreshMessage
impl Send for RefreshMessage
impl Sync for RefreshMessage
impl Unpin for RefreshMessage
impl UnwindSafe for RefreshMessage
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