pub enum CloudRefreshOutcome {
FromCache {
entries: usize,
},
Fetched {
entries: usize,
},
FetchEmpty,
}Expand description
What one refresh_provider_from_store pass decided.
Variants§
FromCache
The store answered: the cached entries were installed in memory, no network fetch ran.
Fetched
The cache missed, the fetch returned ranges: they were cached and installed.
FetchEmpty
The cache missed and the fetch produced nothing: nothing was cached and the provider’s previous ranges (if any) stay.
Trait Implementations§
Source§impl Clone for CloudRefreshOutcome
impl Clone for CloudRefreshOutcome
impl Copy for CloudRefreshOutcome
Source§impl Debug for CloudRefreshOutcome
impl Debug for CloudRefreshOutcome
impl Eq for CloudRefreshOutcome
Source§impl PartialEq for CloudRefreshOutcome
impl PartialEq for CloudRefreshOutcome
impl StructuralPartialEq for CloudRefreshOutcome
Auto Trait Implementations§
impl Freeze for CloudRefreshOutcome
impl RefUnwindSafe for CloudRefreshOutcome
impl Send for CloudRefreshOutcome
impl Sync for CloudRefreshOutcome
impl Unpin for CloudRefreshOutcome
impl UnsafeUnpin for CloudRefreshOutcome
impl UnwindSafe for CloudRefreshOutcome
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§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.