Enum smartcore::error::FailedError
source · #[non_exhaustive]pub enum FailedError {
FitFailed,
PredictFailed,
TransformFailed,
FindFailed,
DecompositionFailed,
SolutionFailed,
ParametersError,
}
Expand description
Type of error
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.
FitFailed
Can’t fit algorithm to data
PredictFailed
Can’t predict new values
TransformFailed
Can’t transform data
FindFailed
Can’t find an item
DecompositionFailed
Can’t decompose a matrix
SolutionFailed
Can’t solve for x
ParametersError
Error in input parameters
Trait Implementations§
source§impl Clone for FailedError
impl Clone for FailedError
source§fn clone(&self) -> FailedError
fn clone(&self) -> FailedError
Returns a copy of the value. Read more
1.0.0 · 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 FailedError
impl Debug for FailedError
source§impl Display for FailedError
impl Display for FailedError
source§impl PartialEq<FailedError> for FailedError
impl PartialEq<FailedError> for FailedError
impl Copy for FailedError
Auto Trait Implementations§
impl RefUnwindSafe for FailedError
impl Send for FailedError
impl Sync for FailedError
impl Unpin for FailedError
impl UnwindSafe for FailedError
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