pub struct ScrubProgress {
pub done_bytes: u64,
pub total_bytes: u64,
}Expand description
Progress of an in-flight ScrubCursor scan.
Fields§
§done_bytes: u64Bytes checksummed so far (equals total_bytes on the final item).
total_bytes: u64The file length — the total to checksum.
Trait Implementations§
Source§impl Clone for ScrubProgress
impl Clone for ScrubProgress
Source§fn clone(&self) -> ScrubProgress
fn clone(&self) -> ScrubProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScrubProgress
Source§impl Debug for ScrubProgress
impl Debug for ScrubProgress
impl Eq for ScrubProgress
Source§impl PartialEq for ScrubProgress
impl PartialEq for ScrubProgress
impl StructuralPartialEq for ScrubProgress
Auto Trait Implementations§
impl Freeze for ScrubProgress
impl RefUnwindSafe for ScrubProgress
impl Send for ScrubProgress
impl Sync for ScrubProgress
impl Unpin for ScrubProgress
impl UnsafeUnpin for ScrubProgress
impl UnwindSafe for ScrubProgress
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