Enum iroh_blobs::get::db::GetState
source · pub enum GetState {
Complete(Stats),
NeedsConn(GetStateNeedsConn),
}
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(GetStateNeedsConn)
The requested data is not fully available in the local store, we need a connection to proceed.
Once a connection is available, call GetStateNeedsConn::proceed
to continue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetState
impl !RefUnwindSafe for GetState
impl !Send for GetState
impl !Sync for GetState
impl Unpin for GetState
impl !UnwindSafe for GetState
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