Enum iroh_blobs::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(Error),
}
Expand description
Progress updates for the validate operation
Variants§
Starting
started validating
Entry
We started validating a complete entry
Fields
EntryProgress
We got progress ingesting item id
.
EntryDone
We are done with id
Fields
PartialEntry
We started validating an entry
Fields
PartialEntryProgress
We got progress ingesting item id
.
PartialEntryDone
We are done with id
AllDone
We are done with the whole operation.
Abort(Error)
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
source§impl From<ValidateProgress> for Response
Available on crate feature rpc
only.
impl From<ValidateProgress> for Response
Available on crate feature
rpc
only.source§fn from(value: ValidateProgress) -> Self
fn from(value: ValidateProgress) -> Self
Converts to this type from the input type.
source§impl From<ValidateProgress> for Response
Available on crate feature rpc
only.
impl From<ValidateProgress> for Response
Available on crate feature
rpc
only.source§fn from(value: ValidateProgress) -> Self
fn from(value: ValidateProgress) -> Self
Converts to this type from the input type.
source§impl Serialize for ValidateProgress
impl Serialize for ValidateProgress
source§impl<'a> TryFrom<&'a Response> for &'a ValidateProgress
Available on crate feature rpc
only.
impl<'a> TryFrom<&'a Response> for &'a ValidateProgress
Available on crate feature
rpc
only.source§impl<'a> TryFrom<&'a Response> for &'a ValidateProgress
Available on crate feature rpc
only.
impl<'a> TryFrom<&'a Response> for &'a ValidateProgress
Available on crate feature
rpc
only.source§impl TryFrom<Response> for ValidateProgress
Available on crate feature rpc
only.
impl TryFrom<Response> for ValidateProgress
Available on crate feature
rpc
only.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§
§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