#[non_exhaustive]pub enum GuardedCascadeRobustnessErrorV0 {
FirstWitness(FirstWitnessErrorV0),
MissingBaselineWinner,
AssignmentCardinalityMismatch {
expected: usize,
observed: usize,
},
PerturbationCapacityExceeded {
observed: usize,
capacity: usize,
},
ZeroPerturbationCost {
kind: GuardedCascadePerturbationKindV0,
},
}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.
FirstWitness(FirstWitnessErrorV0)
MissingBaselineWinner
AssignmentCardinalityMismatch
PerturbationCapacityExceeded
ZeroPerturbationCost
Fields
Trait Implementations§
Source§impl Error for GuardedCascadeRobustnessErrorV0
impl Error for GuardedCascadeRobustnessErrorV0
1.30.0 · 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<FirstWitnessErrorV0> for GuardedCascadeRobustnessErrorV0
impl From<FirstWitnessErrorV0> for GuardedCascadeRobustnessErrorV0
Source§fn from(value: FirstWitnessErrorV0) -> Self
fn from(value: FirstWitnessErrorV0) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GuardedCascadeRobustnessErrorV0
impl RefUnwindSafe for GuardedCascadeRobustnessErrorV0
impl Send for GuardedCascadeRobustnessErrorV0
impl Sync for GuardedCascadeRobustnessErrorV0
impl Unpin for GuardedCascadeRobustnessErrorV0
impl UnsafeUnpin for GuardedCascadeRobustnessErrorV0
impl UnwindSafe for GuardedCascadeRobustnessErrorV0
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