#[non_exhaustive]pub enum Reconciled {
Completed,
Failed {
code: String,
},
Resend,
Unresolved,
}Expand description
What a reconciler found out about a row whose outcome was unknown.
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.
Completed
The remote has it. The row is Completed.
Failed
The remote definitively does not have it, and never will. The row is
Failed.
Resend
The remote definitively never received it, so it may be queued again. Only answer this when the remote is certain: it is the one path that can turn an unknown outcome back into a second send.
Unresolved
Still unknown. The row is left exactly as it is, for the next sweep.
Implementations§
Trait Implementations§
Source§impl Clone for Reconciled
impl Clone for Reconciled
Source§impl Debug for Reconciled
impl Debug for Reconciled
impl Eq for Reconciled
Source§impl PartialEq for Reconciled
impl PartialEq for Reconciled
impl StructuralPartialEq for Reconciled
Auto Trait Implementations§
impl Freeze for Reconciled
impl RefUnwindSafe for Reconciled
impl Send for Reconciled
impl Sync for Reconciled
impl Unpin for Reconciled
impl UnsafeUnpin for Reconciled
impl UnwindSafe for Reconciled
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.