pub enum RecoveryVerdict {
Held {
owner: String,
lease_until_unix_ms: i64,
},
Reclaimable {
previous_owner: String,
},
InDoubt {
previous_owner: String,
class: FailureClass,
code: &'static str,
},
AlreadyCompleted,
}Expand description
What a recovering host may conclude about one persisted claim.
Variants§
Held
The lease is still valid. It stays exactly as persisted, including a claim whose owning process is gone.
Reclaimable
The lease expired before the effect started; the attempt may be re-dispatched against the same attempt identity.
InDoubt
The lease expired while the effect was in flight. The outcome is unknown and stays owned by the previous owner until it is resolved.
AlreadyCompleted
The effect already settled.
Trait Implementations§
Source§impl Clone for RecoveryVerdict
impl Clone for RecoveryVerdict
Source§fn clone(&self) -> RecoveryVerdict
fn clone(&self) -> RecoveryVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecoveryVerdict
impl Debug for RecoveryVerdict
impl Eq for RecoveryVerdict
Source§impl PartialEq for RecoveryVerdict
impl PartialEq for RecoveryVerdict
Source§impl Serialize for RecoveryVerdict
impl Serialize for RecoveryVerdict
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RecoveryVerdict
Auto Trait Implementations§
impl Forget for RecoveryVerdict
impl Freeze for RecoveryVerdict
impl Move for RecoveryVerdict
impl RefUnwindSafe for RecoveryVerdict
impl Send for RecoveryVerdict
impl Sync for RecoveryVerdict
impl Unpin for RecoveryVerdict
impl UnsafeUnpin for RecoveryVerdict
impl UnwindSafe for RecoveryVerdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.