Enum iroh_bytes::store::ValidateProgress
source · pub enum ValidateProgress {
Starting {
total: u64,
},
Entry {
id: u64,
hash: Hash,
path: Option<String>,
size: u64,
},
EntryProgress {
id: u64,
offset: u64,
},
EntryDone {
id: u64,
error: Option<String>,
},
PartialEntry {
id: u64,
hash: Hash,
path: Option<String>,
size: u64,
},
PartialEntryProgress {
id: u64,
offset: u64,
},
PartialEntryDone {
id: u64,
ranges: RangeSpec,
},
AllDone,
Abort(RpcError),
}Expand description
Progress updates for the validate operation
Variants§
Starting
started validating
Entry
Fields
We started validating a complete entry
EntryProgress
We got progress ingesting item id.
EntryDone
Fields
We are done with id
PartialEntry
Fields
We started validating an entry
PartialEntryProgress
We got progress ingesting item id.
PartialEntryDone
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 Freeze for ValidateProgress
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