pub enum Refresh {
None,
Tables(Vec<&'static str>),
All,
}Expand description
The cache refresh a participant asks for after its own SQL may have changed model rows that were already flushed from the caches.
Variants§
None
The participant wrote nothing the caches hold.
Tables(Vec<&'static str>)
Re-read and diff the resident rows of these tables only, drop the relation memos that involve them, and re-run the live queries that read them.
All
Every resident row, every relation memo, every live query.
Trait Implementations§
impl Eq for Refresh
impl StructuralPartialEq for Refresh
Auto Trait Implementations§
impl Forget for Refresh
impl Freeze for Refresh
impl Move for Refresh
impl RefUnwindSafe for Refresh
impl Send for Refresh
impl Sync for Refresh
impl Unpin for Refresh
impl UnsafeUnpin for Refresh
impl UnwindSafe for Refresh
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more