pub enum SearchSpecError {
Show 18 variants
Parse(String),
UnsupportedSchemaVersion(u32),
InvalidName,
InvalidText {
field: &'static str,
max: usize,
},
InvalidPopulation(u16),
InvalidConcurrency {
concurrency: u16,
population: u16,
limit: u16,
},
InvalidRounds,
UnboundedWriteScope,
InvalidStringList {
field: &'static str,
},
InvalidWriteScope {
field: &'static str,
},
ZeroBudget(&'static str),
TestWeakeningAllowed,
MissingHardGates,
InvalidTrials(u16),
MissingTieBreakers,
InvalidBaselineCommit,
EmptyEvaluator,
FreezeEncoding(String),
}Variants§
Parse(String)
UnsupportedSchemaVersion(u32)
InvalidName
InvalidText
InvalidPopulation(u16)
InvalidConcurrency
InvalidRounds
UnboundedWriteScope
InvalidStringList
InvalidWriteScope
ZeroBudget(&'static str)
TestWeakeningAllowed
MissingHardGates
InvalidTrials(u16)
MissingTieBreakers
InvalidBaselineCommit
EmptyEvaluator
FreezeEncoding(String)
Trait Implementations§
Source§impl Clone for SearchSpecError
impl Clone for SearchSpecError
Source§fn clone(&self) -> SearchSpecError
fn clone(&self) -> SearchSpecError
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 SearchSpecError
impl Debug for SearchSpecError
Source§impl Display for SearchSpecError
impl Display for SearchSpecError
impl Eq for SearchSpecError
Source§impl Error for SearchSpecError
impl Error for SearchSpecError
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 PartialEq for SearchSpecError
impl PartialEq for SearchSpecError
impl StructuralPartialEq for SearchSpecError
Auto Trait Implementations§
impl Freeze for SearchSpecError
impl RefUnwindSafe for SearchSpecError
impl Send for SearchSpecError
impl Sync for SearchSpecError
impl Unpin for SearchSpecError
impl UnsafeUnpin for SearchSpecError
impl UnwindSafe for SearchSpecError
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