pub enum EvolutionError {
LabelSetChanged(LabelEvolutionError),
EmissionShapeChanged {
old_conformal_set: bool,
new_conformal_set: bool,
},
}Expand description
Why a schema generation pair fails the evolution check.
Covers everything DecisionSchema::fingerprint treats as schema content, so the
two drift detectors can never disagree: an evolution the fingerprint would see is an
evolution this check rejects.
Variants§
LabelSetChanged(LabelEvolutionError)
An existing question’s kind or label set changed.
EmissionShapeChanged
The conformal-set column flag flipped. The emitted Arrow schema gains or loses a column per question, breaking positional consumers and prepared statements, so this is schema evolution even though no question changed.
Trait Implementations§
Source§impl Clone for EvolutionError
impl Clone for EvolutionError
Source§fn clone(&self) -> EvolutionError
fn clone(&self) -> EvolutionError
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 moreSource§impl Debug for EvolutionError
impl Debug for EvolutionError
Source§impl Display for EvolutionError
impl Display for EvolutionError
Source§impl Error for EvolutionError
impl Error for EvolutionError
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<LabelEvolutionError> for EvolutionError
impl From<LabelEvolutionError> for EvolutionError
Source§fn from(source: LabelEvolutionError) -> Self
fn from(source: LabelEvolutionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EvolutionError
impl PartialEq for EvolutionError
Source§fn eq(&self, other: &EvolutionError) -> bool
fn eq(&self, other: &EvolutionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EvolutionError
Auto Trait Implementations§
impl Freeze for EvolutionError
impl RefUnwindSafe for EvolutionError
impl Send for EvolutionError
impl Sync for EvolutionError
impl Unpin for EvolutionError
impl UnsafeUnpin for EvolutionError
impl UnwindSafe for EvolutionError
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