pub enum ClaimRecovery {
All,
OlderThan(u64),
}Expand description
Which unsettled claims ApprovalCoordinator::recover_claims resolves.
Variants§
All
Every claim: for startup, before any handler runs. At runtime it would resolve claims
whose handler is still working, which then fail to settle (ApprovalError::StaleClaim).
OlderThan(u64)
Only claims older than this many milliseconds (a handler timeout).
Trait Implementations§
Source§impl Clone for ClaimRecovery
impl Clone for ClaimRecovery
impl Copy for ClaimRecovery
Source§impl Debug for ClaimRecovery
impl Debug for ClaimRecovery
impl Eq for ClaimRecovery
Source§impl PartialEq for ClaimRecovery
impl PartialEq for ClaimRecovery
impl StructuralPartialEq for ClaimRecovery
Auto Trait Implementations§
impl Freeze for ClaimRecovery
impl RefUnwindSafe for ClaimRecovery
impl Send for ClaimRecovery
impl Sync for ClaimRecovery
impl Unpin for ClaimRecovery
impl UnsafeUnpin for ClaimRecovery
impl UnwindSafe for ClaimRecovery
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