pub enum RecoveryEvent {
CorruptedManifest,
InvalidPatch {
purl: String,
uuid: Option<String>,
},
RecoveredPatch {
purl: String,
uuid: String,
},
DiscardedPatchNotFound {
purl: String,
uuid: String,
},
DiscardedPatchPurlMismatch {
purl: String,
uuid: String,
db_purl: String,
},
DiscardedPatchNoUuid {
purl: String,
},
RecoveryError {
purl: String,
uuid: String,
error: String,
},
}Expand description
Events emitted during recovery.
Variants§
CorruptedManifest
InvalidPatch
RecoveredPatch
DiscardedPatchNotFound
DiscardedPatchPurlMismatch
DiscardedPatchNoUuid
RecoveryError
Trait Implementations§
Source§impl Clone for RecoveryEvent
impl Clone for RecoveryEvent
Source§fn clone(&self) -> RecoveryEvent
fn clone(&self) -> RecoveryEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 RecoveryEvent
impl RefUnwindSafe for RecoveryEvent
impl Send for RecoveryEvent
impl Sync for RecoveryEvent
impl Unpin for RecoveryEvent
impl UnsafeUnpin for RecoveryEvent
impl UnwindSafe for RecoveryEvent
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