pub enum ReplayWithQualityError {
Replay(PlanError),
Quality(QualityError),
}Expand description
Combined error envelope for replay_with_quality. Variants stay
distinct so callers can render appropriate UX (PlanError is a
validation/config failure; QualityError is a runtime / opt-in issue).
Variants§
Replay(PlanError)
The deterministic replay stage failed (invalid window, etc.).
Quality(QualityError)
The Tier 3 quality scoring stage failed (no opt-in, over budget, judge error, …).
Trait Implementations§
Source§impl Debug for ReplayWithQualityError
impl Debug for ReplayWithQualityError
Source§impl Display for ReplayWithQualityError
impl Display for ReplayWithQualityError
Source§impl Error for ReplayWithQualityError
impl Error for ReplayWithQualityError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<PlanError> for ReplayWithQualityError
impl From<PlanError> for ReplayWithQualityError
Source§impl From<QualityError> for ReplayWithQualityError
impl From<QualityError> for ReplayWithQualityError
Source§fn from(source: QualityError) -> Self
fn from(source: QualityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReplayWithQualityError
impl RefUnwindSafe for ReplayWithQualityError
impl Send for ReplayWithQualityError
impl Sync for ReplayWithQualityError
impl Unpin for ReplayWithQualityError
impl UnsafeUnpin for ReplayWithQualityError
impl UnwindSafe for ReplayWithQualityError
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