pub enum LearnError {
Harness(String),
Metrics(String),
Optimizer(String),
Analytics(String),
Core(CoreError),
Select(SelectError),
Io(Error),
Yaml(Error),
Json(Error),
Sqlite(Error),
}Expand description
Errors from learning operations.
Variants§
Harness(String)
Test harness error.
Metrics(String)
Metrics error.
Optimizer(String)
Optimizer error.
Analytics(String)
Analytics error.
Core(CoreError)
Core error.
Select(SelectError)
Select error.
Io(Error)
IO error.
Yaml(Error)
YAML error.
Json(Error)
JSON error.
Sqlite(Error)
SQLite error.
Trait Implementations§
Source§impl Debug for LearnError
impl Debug for LearnError
Source§impl Display for LearnError
impl Display for LearnError
Source§impl Error for LearnError
impl Error for LearnError
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<CoreError> for LearnError
impl From<CoreError> for LearnError
Source§impl From<Error> for LearnError
impl From<Error> for LearnError
Source§impl From<Error> for LearnError
impl From<Error> for LearnError
Source§impl From<Error> for LearnError
impl From<Error> for LearnError
Source§impl From<Error> for LearnError
impl From<Error> for LearnError
Source§impl From<SelectError> for LearnError
impl From<SelectError> for LearnError
Source§fn from(source: SelectError) -> Self
fn from(source: SelectError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LearnError
impl !UnwindSafe for LearnError
impl Freeze for LearnError
impl Send for LearnError
impl Sync for LearnError
impl Unpin for LearnError
impl UnsafeUnpin for LearnError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more