pub enum RefreshAction {
CacheOnly,
Forward {
reason: &'static str,
},
}Expand description
Backend refresh decision for cache-backed read APIs.
Variants§
Trait Implementations§
Source§impl Clone for RefreshAction
impl Clone for RefreshAction
Source§fn clone(&self) -> RefreshAction
fn clone(&self) -> RefreshAction
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 moreSource§impl Debug for RefreshAction
impl Debug for RefreshAction
Source§impl PartialEq for RefreshAction
impl PartialEq for RefreshAction
impl Eq for RefreshAction
impl StructuralPartialEq for RefreshAction
Auto Trait Implementations§
impl Freeze for RefreshAction
impl RefUnwindSafe for RefreshAction
impl Send for RefreshAction
impl Sync for RefreshAction
impl Unpin for RefreshAction
impl UnsafeUnpin for RefreshAction
impl UnwindSafe for RefreshAction
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more