Enum iroh_blobs::provider::BatchAddPathProgress
source · pub enum BatchAddPathProgress {
Found {
size: u64,
},
Progress {
offset: u64,
},
Done {
hash: Hash,
},
Abort(Error),
}
Expand description
Progress updates for the batch add operation.
Variants§
Found
An item was found with the given size
Progress
We got progress ingesting the item.
Done
We are done, and the hash is hash
.
Abort(Error)
We got an error and need to abort.
This will be the last message in the stream.
Trait Implementations§
source§impl Debug for BatchAddPathProgress
impl Debug for BatchAddPathProgress
source§impl<'de> Deserialize<'de> for BatchAddPathProgress
impl<'de> Deserialize<'de> for BatchAddPathProgress
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BatchAddPathProgress
impl RefUnwindSafe for BatchAddPathProgress
impl Send for BatchAddPathProgress
impl Sync for BatchAddPathProgress
impl Unpin for BatchAddPathProgress
impl UnwindSafe for BatchAddPathProgress
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