#[non_exhaustive]pub enum CoordinationErrorKind {
Fenced,
Retryable,
Fatal,
}Expand description
Why a coordination operation failed.
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.
Fenced
The fenced write lost: this instance no longer owns the split and
nothing was written. Not a pipeline error — callers intercept
it and treat the split as lost (the matching
CoordinationEvent::Lost follows from
poll).
Retryable
Transient backend failure; the operation may succeed if retried on the caller’s next tick. Backends keep renewing owned leases through caller-visible retryable failures.
Fatal
Unrecoverable: backend misconfiguration, a store without the required atomic primitives, a corrupt or incompatible record, a diverging job fingerprint. The pipeline must stop.
Trait Implementations§
Source§impl Clone for CoordinationErrorKind
impl Clone for CoordinationErrorKind
Source§fn clone(&self) -> CoordinationErrorKind
fn clone(&self) -> CoordinationErrorKind
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 CoordinationErrorKind
Source§impl Debug for CoordinationErrorKind
impl Debug for CoordinationErrorKind
impl Eq for CoordinationErrorKind
Source§impl PartialEq for CoordinationErrorKind
impl PartialEq for CoordinationErrorKind
impl StructuralPartialEq for CoordinationErrorKind
Auto Trait Implementations§
impl Freeze for CoordinationErrorKind
impl RefUnwindSafe for CoordinationErrorKind
impl Send for CoordinationErrorKind
impl Sync for CoordinationErrorKind
impl Unpin for CoordinationErrorKind
impl UnsafeUnpin for CoordinationErrorKind
impl UnwindSafe for CoordinationErrorKind
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§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.