pub enum CompletionVerdict {
Accepted,
Duplicate,
RejectedStaleOwner,
RejectedConflict,
}Expand description
The verdict on one reported completion.
Variants§
Accepted
The one owner of this attempt settled it; successors may be admitted.
Duplicate
The same owner re-reported the same result. It is recorded once and releases no successor a second time.
RejectedStaleOwner
A different owner, or a stale attempt token, reported a result. The result is not applied and no effect or successor is released.
RejectedConflict
The attempt settled with a different result than the one reported.
Trait Implementations§
Source§impl Clone for CompletionVerdict
impl Clone for CompletionVerdict
Source§fn clone(&self) -> CompletionVerdict
fn clone(&self) -> CompletionVerdict
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 CompletionVerdict
impl Debug for CompletionVerdict
impl Eq for CompletionVerdict
Source§impl PartialEq for CompletionVerdict
impl PartialEq for CompletionVerdict
Source§impl Serialize for CompletionVerdict
impl Serialize for CompletionVerdict
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 CompletionVerdict
Auto Trait Implementations§
impl Forget for CompletionVerdict
impl Freeze for CompletionVerdict
impl Move for CompletionVerdict
impl RefUnwindSafe for CompletionVerdict
impl Send for CompletionVerdict
impl Sync for CompletionVerdict
impl Unpin for CompletionVerdict
impl UnsafeUnpin for CompletionVerdict
impl UnwindSafe for CompletionVerdict
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.