pub enum FetchState {
Complete(Stats),
NeedsConn(FetchStateNeedsConn),
}
Expand description
Output of get_to_db_in_steps
.
Variants§
Complete(Stats)
The requested data is completely available in the local store, no network requests are needed.
NeedsConn(FetchStateNeedsConn)
The requested data is not fully available in the local store, we need a connection to proceed.
Once a connection is available, call FetchStateNeedsConn::proceed
to continue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FetchState
impl !RefUnwindSafe for FetchState
impl !Send for FetchState
impl !Sync for FetchState
impl Unpin for FetchState
impl !UnwindSafe for FetchState
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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