pub enum Verdict {
Continue,
Concede,
}Expand description
The decision a Policy renders for one infrastructure failure.
This is a closed, two-variant decision (deliberately not #[non_exhaustive], unlike the
growing kernel protocol enums): it is the complete answer to one question — keep lapsing,
or concede — not a protocol that accretes new cases over time.
Variants§
Continue
Propagate the error so the claim is left unsettled: it lapses and may be reclaimed and attempted again by a later step.
Concede
Give up: settle the claim as breached now instead of letting it lapse again.
Trait Implementations§
impl Copy for Verdict
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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