pub struct SwrToken { /* private fields */ }Expand description
Mutation version captured by an SWR stale read.
Pass this back only through the #[cachekit]-generated refresh path. It
prevents an older background computation from overwriting a newer write
or resurrecting a deleted entry on this client or any of its clones.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SwrToken
impl !UnwindSafe for SwrToken
impl Freeze for SwrToken
impl Send for SwrToken
impl Sync for SwrToken
impl Unpin for SwrToken
impl UnsafeUnpin for SwrToken
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
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.