pub enum IrithyllError {
InvalidConfig(ConfigError),
InsufficientData(String),
DimensionMismatch {
expected: usize,
got: usize,
},
NotTrained,
}Available on crate feature
alloc only.Expand description
Top-level error type for the irithyll crate.
Requires the alloc feature for String fields.
Variants§
InvalidConfig(ConfigError)
Configuration validation failed.
InsufficientData(String)
Not enough data to perform the requested operation.
DimensionMismatch
Feature dimension mismatch between sample and model.
NotTrained
Model has not been trained yet.
Trait Implementations§
Source§impl Debug for IrithyllError
impl Debug for IrithyllError
Source§impl Display for IrithyllError
impl Display for IrithyllError
Source§impl From<ConfigError> for IrithyllError
impl From<ConfigError> for IrithyllError
Source§fn from(e: ConfigError) -> Self
fn from(e: ConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IrithyllError
impl RefUnwindSafe for IrithyllError
impl Send for IrithyllError
impl Sync for IrithyllError
impl Unpin for IrithyllError
impl UnsafeUnpin for IrithyllError
impl UnwindSafe for IrithyllError
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