pub enum InvalidationScope {
All,
Key(QueryKey),
Group(u64),
App(u64),
Window {
app: u64,
window: u64,
},
Feature {
app: u64,
window: u64,
feature: u64,
},
KeyIn {
path: ScopePath,
key: QueryKey,
},
}Expand description
失效作用域。All / Key / Group 保持 0.7 语义;新增层级变体表达
app → window → feature → 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