pub enum InvalidationScope {
All,
Key(QueryKey),
Group(u64),
}Expand description
失效作用域。All 与 Key 足够覆盖单 key store;Group 由应用给相关 key 分组。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InvalidationScope
impl Clone for InvalidationScope
impl Copy for InvalidationScope
Source§impl Debug for InvalidationScope
impl Debug for InvalidationScope
impl Eq for InvalidationScope
Source§impl PartialEq for InvalidationScope
impl PartialEq for InvalidationScope
impl StructuralPartialEq for InvalidationScope
Auto Trait Implementations§
impl Forget for InvalidationScope
impl Freeze for InvalidationScope
impl Move for InvalidationScope
impl RefUnwindSafe for InvalidationScope
impl Send for InvalidationScope
impl Sync for InvalidationScope
impl Unpin for InvalidationScope
impl UnsafeUnpin for InvalidationScope
impl UnwindSafe for InvalidationScope
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