pub enum QueryErrorStatus {
Permanent,
Temporary,
Persistent,
}Expand description
Retry and remediation status for native-engine errors.
Provides coarse source classification. Attempt retry advice is derived only after terminal evidence is sealed.
Variants§
Permanent
The same request will not succeed without changing its query, input, configuration, or code. Do not retry it automatically.
Temporary
The failure may clear without external repair. A sealed attempt report still needs terminal evidence before it can advise backoff or retry.
Persistent
A dependency/runtime failure has been observed to recur or is known to continue. Stop automatic retries and escalate or wait for intervention.
This remains distinct from Self::Permanent. It records a continuing
dependency failure, while Permanent records a request that must change.
Neither status alone is retry advice.
Implementations§
Trait Implementations§
Source§impl Clone for QueryErrorStatus
impl Clone for QueryErrorStatus
impl Copy for QueryErrorStatus
Source§impl Debug for QueryErrorStatus
impl Debug for QueryErrorStatus
Source§impl Display for QueryErrorStatus
impl Display for QueryErrorStatus
impl Eq for QueryErrorStatus
Source§impl Hash for QueryErrorStatus
impl Hash for QueryErrorStatus
Source§impl PartialEq for QueryErrorStatus
impl PartialEq for QueryErrorStatus
impl StructuralPartialEq for QueryErrorStatus
Auto Trait Implementations§
impl Freeze for QueryErrorStatus
impl RefUnwindSafe for QueryErrorStatus
impl Send for QueryErrorStatus
impl Sync for QueryErrorStatus
impl Unpin for QueryErrorStatus
impl UnsafeUnpin for QueryErrorStatus
impl UnwindSafe for QueryErrorStatus
Blanket Implementations§
impl<T> Allocation for T
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