pub struct ScanStats {
pub files_examined: usize,
pub omy_found: usize,
pub unlocked: usize,
pub io_errors: usize,
pub malformed: usize,
}Expand description
扫描统计,用于向用户展示进度与结果。
Fields§
§files_examined: usize检查过的文件总数。
omy_found: usize识别为 .omy 的文件数。
unlocked: usize成功解锁的文件数。
io_errors: usize因 I/O 错误跳过的文件数。
malformed: usize头部损坏或版本不支持的文件数。
Trait Implementations§
Auto Trait Implementations§
impl Forget for ScanStats
impl Freeze for ScanStats
impl RefUnwindSafe for ScanStats
impl Send for ScanStats
impl Sync for ScanStats
impl Unpin for ScanStats
impl UnsafeUnpin for ScanStats
impl UnwindSafe for ScanStats
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