Enum iroh_bytes::store::ValidateProgress
source · pub enum ValidateProgress {
Starting {
total: u64,
},
Entry {
id: u64,
hash: Hash,
path: Option<String>,
size: u64,
},
Progress {
id: u64,
offset: u64,
},
Done {
id: u64,
error: Option<String>,
},
AllDone,
Abort(RpcError),
}Expand description
Progress updates for the provide operation
Variants§
Starting
started validating
Entry
Fields
We started validating an entry
Progress
We got progress ingesting item id.
Done
Fields
We are done with id
AllDone
We are done with the whole operation.
Abort(RpcError)
We got an error and need to abort.
Trait Implementations§
source§impl Debug for ValidateProgress
impl Debug for ValidateProgress
source§impl<'de> Deserialize<'de> for ValidateProgress
impl<'de> Deserialize<'de> for ValidateProgress
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 RefUnwindSafe for ValidateProgress
impl Send for ValidateProgress
impl Sync for ValidateProgress
impl Unpin for ValidateProgress
impl UnwindSafe for ValidateProgress
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