pub enum FolderIntegrityEvent {
Begin(usize),
Failure(VaultId, IntegrityFailure),
OpenFolder(VaultId),
VaultRecord(VaultId, (SecretId, CommitHash)),
EventRecord(VaultId, EventRecord),
CloseFolder(VaultId),
Complete,
}Expand description
Event dispatched whilst generating an integrity report.
Variants§
Begin(usize)
Begin processing the given number of folders.
Failure(VaultId, IntegrityFailure)
Integrity check failed.
OpenFolder(VaultId)
Started integrity check on a folder.
VaultRecord(VaultId, (SecretId, CommitHash))
Read a record in a vault.
EventRecord(VaultId, EventRecord)
Read a record in an event log.
CloseFolder(VaultId)
Finished integrity check on a folder.
This event is only sent when a folder integrity check completes successfully.
Errors are reported as a failure event.
Complete
Folder integrity check completed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FolderIntegrityEvent
impl !RefUnwindSafe for FolderIntegrityEvent
impl Send for FolderIntegrityEvent
impl Sync for FolderIntegrityEvent
impl Unpin for FolderIntegrityEvent
impl !UnwindSafe for FolderIntegrityEvent
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