pub enum FileIntegrityEvent {
Begin(usize),
Failure(ExternalFile, IntegrityFailure),
OpenFile(ExternalFile, u64),
ReadFile(ExternalFile, usize),
CloseFile(ExternalFile),
Complete,
}Available on crate feature
files only.Expand description
Event dispatched whilst generating an integrity report.
Variants§
Begin(usize)
Begin processing the given number of files.
Failure(ExternalFile, IntegrityFailure)
Integrity check failed.
OpenFile(ExternalFile, u64)
File was opened.
ReadFile(ExternalFile, usize)
Read file buffer.
CloseFile(ExternalFile)
File was closed.
This event is only sent when a file integrity check completes successfully.
Errors are reported as a failure event.
Complete
File integrity check completed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileIntegrityEvent
impl !RefUnwindSafe for FileIntegrityEvent
impl Send for FileIntegrityEvent
impl Sync for FileIntegrityEvent
impl Unpin for FileIntegrityEvent
impl !UnwindSafe for FileIntegrityEvent
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