pub enum BatchAddPathProgressEvent {
Found {
size: u64,
},
Progress {
offset: u64,
},
Done {
hash: Hash,
},
Abort(Error),
}
Available on crate feature
rpc
only.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 BatchAddPathProgressEvent
impl Debug for BatchAddPathProgressEvent
Source§impl<'de> Deserialize<'de> for BatchAddPathProgressEvent
impl<'de> Deserialize<'de> for BatchAddPathProgressEvent
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 BatchAddPathProgressEvent
impl RefUnwindSafe for BatchAddPathProgressEvent
impl Send for BatchAddPathProgressEvent
impl Sync for BatchAddPathProgressEvent
impl Unpin for BatchAddPathProgressEvent
impl UnwindSafe for BatchAddPathProgressEvent
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