pub enum ShardProgress {
Starting,
Hashing {
percent: u8,
bytes_processed: u64,
total_bytes: u64,
},
Completed {
health: ShardHealth,
},
}Expand description
Progress status for an individual shard verification.
Variants§
Starting
Verification starting for this shard.
Hashing
Currently hashing the file.
Fields
Completed
Verification completed for this shard.
Fields
§
health: ShardHealthHealth status of this shard.
Trait Implementations§
Source§impl Clone for ShardProgress
impl Clone for ShardProgress
Source§fn clone(&self) -> ShardProgress
fn clone(&self) -> ShardProgress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShardProgress
impl Debug for ShardProgress
Source§impl<'de> Deserialize<'de> for ShardProgress
impl<'de> Deserialize<'de> for ShardProgress
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 ShardProgress
impl RefUnwindSafe for ShardProgress
impl Send for ShardProgress
impl Sync for ShardProgress
impl Unpin for ShardProgress
impl UnwindSafe for ShardProgress
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