#[non_exhaustive]pub struct RecoveryReport {
pub marked_unknown: Vec<EffectId>,
pub skipped: Vec<EffectId>,
pub resumed: Vec<(EffectId, EffectStatus)>,
pub unhandled: Vec<EffectId>,
pub resume_errors: Vec<(EffectId, String)>,
}Expand description
What one Runtime::recover pass did.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.marked_unknown: Vec<EffectId>Effects whose worker’s lease expired mid-attempt or mid-verification, now marked unknown.
skipped: Vec<EffectId>Effects that matched the scan but were taken by another caller or worker before this pass reached them.
resumed: Vec<(EffectId, EffectStatus)>Effects with a registered handler that this pass moved forward, and
the status each ended in. Committed, Failed and Rejected are
settled; NeedsIntervention waits for an operator; anything else is
still in progress or still unknown.
unhandled: Vec<EffectId>Unsettled effects with no registered handler (closure effects). They need a caller to run them again with the same key.
resume_errors: Vec<(EffectId, String)>Effects whose handler could not be run, with the reason, e.g. a stored input that no longer deserializes.
Trait Implementations§
Source§impl Clone for RecoveryReport
impl Clone for RecoveryReport
Source§impl Debug for RecoveryReport
impl Debug for RecoveryReport
Source§impl Default for RecoveryReport
impl Default for RecoveryReport
impl Eq for RecoveryReport
Source§impl PartialEq for RecoveryReport
impl PartialEq for RecoveryReport
impl StructuralPartialEq for RecoveryReport
Auto Trait Implementations§
impl Freeze for RecoveryReport
impl RefUnwindSafe for RecoveryReport
impl Send for RecoveryReport
impl Sync for RecoveryReport
impl Unpin for RecoveryReport
impl UnsafeUnpin for RecoveryReport
impl UnwindSafe for RecoveryReport
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