pub enum ClaimVerdict {
Granted {
lease: ClaimLease,
},
Held {
owner: String,
lease_until_unix_ms: i64,
},
Reclaimable {
previous_owner: String,
},
InDoubt {
previous_owner: String,
},
AlreadySettled,
IdentityConflict,
}Expand description
The outcome of trying to take one effect claim.
Variants§
Granted
This caller now owns the exact effect attempt.
Fields
§
lease: ClaimLeaseHeld
Another owner holds an unexpired claim. The caller must not dispatch.
Reclaimable
An expired claim never started, so this attempt may be re-dispatched.
InDoubt
An expired claim was in flight; the outcome is unknown and must not be repeated by this caller.
AlreadySettled
The attempt already settled; no second effect is permitted.
IdentityConflict
The attempt identity belongs to a different command or token.
Trait Implementations§
Source§impl Clone for ClaimVerdict
impl Clone for ClaimVerdict
Source§fn clone(&self) -> ClaimVerdict
fn clone(&self) -> ClaimVerdict
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 ClaimVerdict
impl Debug for ClaimVerdict
impl Eq for ClaimVerdict
Source§impl PartialEq for ClaimVerdict
impl PartialEq for ClaimVerdict
Source§impl Serialize for ClaimVerdict
impl Serialize for ClaimVerdict
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 ClaimVerdict
Auto Trait Implementations§
impl Forget for ClaimVerdict
impl Freeze for ClaimVerdict
impl Move for ClaimVerdict
impl RefUnwindSafe for ClaimVerdict
impl Send for ClaimVerdict
impl Sync for ClaimVerdict
impl Unpin for ClaimVerdict
impl UnsafeUnpin for ClaimVerdict
impl UnwindSafe for ClaimVerdict
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.