pub enum FaultCause {
Derive,
PushDeadline,
WorkerLost,
}Expand description
Why a query faulted (ClusterEvent::Faulted) — the classification the host’s mode
machine consumes (FOLLOWER-LAG-SHED §6.6 item 3: today the error’s identity died inside
the worker as a bare faulted = true, making a deadline bail indistinguishable from an
ordinary derive fault).
Variants§
Derive
A derive raised an error (bad state, SQLite I/O, an internal panic) — the ordinary fault; recovery is re-register + re-hydrate.
PushDeadline
A single push blew the host-armed deadline (RindleError::PushDeadlineExceeded) —
the runaway-push bail, FOLLOWER-LAG-SHED §6.1 trigger (b): the host should consult
its shed machinery BEFORE re-registering.
WorkerLost
The worker thread itself was lost (died / unresponsive → detached + respawned); every query on the shard faulted with it.
Trait Implementations§
Source§impl Clone for FaultCause
impl Clone for FaultCause
Source§fn clone(&self) -> FaultCause
fn clone(&self) -> FaultCause
Returns a duplicate of the value. Read more
1.0.0 · 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 FaultCause
impl Debug for FaultCause
Source§impl PartialEq for FaultCause
impl PartialEq for FaultCause
impl Copy for FaultCause
impl Eq for FaultCause
impl StructuralPartialEq for FaultCause
Auto Trait Implementations§
impl Freeze for FaultCause
impl RefUnwindSafe for FaultCause
impl Send for FaultCause
impl Sync for FaultCause
impl Unpin for FaultCause
impl UnsafeUnpin for FaultCause
impl UnwindSafe for FaultCause
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.