pub struct IntegrityCheckResult {
pub file_path: PathBuf,
pub total_blocks_checked: usize,
pub corrupted_blocks: Vec<usize>,
pub checksum_mismatches: usize,
pub unreadable_blocks: usize,
pub total_entries: usize,
pub parsing_errors: Vec<String>,
pub overall_status: IntegrityStatus,
}Expand description
Integrity check results
Fields§
§file_path: PathBufFile path checked
total_blocks_checked: usizeTotal blocks checked
corrupted_blocks: Vec<usize>List of corrupted block numbers
checksum_mismatches: usizeNumber of checksum mismatches
unreadable_blocks: usizeNumber of unreadable blocks
total_entries: usizeTotal entries found
parsing_errors: Vec<String>Parsing errors encountered
overall_status: IntegrityStatusOverall integrity status
Trait Implementations§
Source§impl Clone for IntegrityCheckResult
impl Clone for IntegrityCheckResult
Source§fn clone(&self) -> IntegrityCheckResult
fn clone(&self) -> IntegrityCheckResult
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 moreAuto Trait Implementations§
impl Freeze for IntegrityCheckResult
impl RefUnwindSafe for IntegrityCheckResult
impl Send for IntegrityCheckResult
impl Sync for IntegrityCheckResult
impl Unpin for IntegrityCheckResult
impl UnsafeUnpin for IntegrityCheckResult
impl UnwindSafe for IntegrityCheckResult
Blanket Implementations§
impl<T> Allocation for T
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