#[non_exhaustive]pub enum OutcomeCertainty {
Known,
KnownNotApplied,
Indeterminate,
}Expand description
Whether the caller can know if a failed operation changed remote state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Known
The operation completed and its result is known.
KnownNotApplied
The server rejected the operation before it took effect.
Indeterminate
A transport failure happened after dispatch, so reconciliation is required before retrying a mutation.
Trait Implementations§
Source§impl Clone for OutcomeCertainty
impl Clone for OutcomeCertainty
Source§fn clone(&self) -> OutcomeCertainty
fn clone(&self) -> OutcomeCertainty
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 moreimpl Copy for OutcomeCertainty
Source§impl Debug for OutcomeCertainty
impl Debug for OutcomeCertainty
impl Eq for OutcomeCertainty
Source§impl PartialEq for OutcomeCertainty
impl PartialEq for OutcomeCertainty
impl StructuralPartialEq for OutcomeCertainty
Auto Trait Implementations§
impl Freeze for OutcomeCertainty
impl RefUnwindSafe for OutcomeCertainty
impl Send for OutcomeCertainty
impl Sync for OutcomeCertainty
impl Unpin for OutcomeCertainty
impl UnsafeUnpin for OutcomeCertainty
impl UnwindSafe for OutcomeCertainty
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