pub struct AnalysisProgress {
pub chunks_done: usize,
pub chunks_total: Option<usize>,
pub bytes_done: u64,
}Expand description
Snapshot of analysis progress, delivered to the callback passed to
EwfIntegrity::analyse_with_progress after each chunk is processed.
Fields§
§chunks_done: usizeNumber of chunks fully processed (hashed + Adler-32 verified) so far.
chunks_total: Option<usize>Total chunks in the current segment; None until the chunk table is parsed.
bytes_done: u64Total sector-data bytes processed so far.
Trait Implementations§
Source§impl Clone for AnalysisProgress
impl Clone for AnalysisProgress
Source§fn clone(&self) -> AnalysisProgress
fn clone(&self) -> AnalysisProgress
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 moreSource§impl Debug for AnalysisProgress
impl Debug for AnalysisProgress
impl Eq for AnalysisProgress
Source§impl PartialEq for AnalysisProgress
impl PartialEq for AnalysisProgress
Source§fn eq(&self, other: &AnalysisProgress) -> bool
fn eq(&self, other: &AnalysisProgress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalysisProgress
Auto Trait Implementations§
impl Freeze for AnalysisProgress
impl RefUnwindSafe for AnalysisProgress
impl Send for AnalysisProgress
impl Sync for AnalysisProgress
impl Unpin for AnalysisProgress
impl UnsafeUnpin for AnalysisProgress
impl UnwindSafe for AnalysisProgress
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