pub enum LearningError {
Show 17 variants
DecisionCaptureFailed(String),
RuleValidationFailed(String),
RuleStorageFailed(String),
PatternExtractionFailed(String),
RulePromotionFailed(String),
ConflictResolutionFailed(String),
ConfigurationError(String),
PathResolutionFailed(String),
SerializationError(Error),
StorageError(String),
IoError(Error),
InvalidScope(String),
RuleNotFound(String),
PatternNotFound(String),
DecisionNotFound(String),
RuleApplicationFailed(String),
AnalyticsError(String),
}Expand description
Errors that can occur in the learning system
Variants§
DecisionCaptureFailed(String)
RuleValidationFailed(String)
RuleStorageFailed(String)
PatternExtractionFailed(String)
RulePromotionFailed(String)
ConflictResolutionFailed(String)
ConfigurationError(String)
PathResolutionFailed(String)
SerializationError(Error)
StorageError(String)
IoError(Error)
InvalidScope(String)
RuleNotFound(String)
PatternNotFound(String)
DecisionNotFound(String)
RuleApplicationFailed(String)
AnalyticsError(String)
Trait Implementations§
Source§impl Debug for LearningError
impl Debug for LearningError
Source§impl Display for LearningError
impl Display for LearningError
Source§impl Error for LearningError
impl Error for LearningError
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<Error> for LearningError
impl From<Error> for LearningError
Source§impl From<Error> for LearningError
impl From<Error> for LearningError
Source§impl From<StorageError> for LearningError
impl From<StorageError> for LearningError
Source§fn from(err: StorageError) -> Self
fn from(err: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LearningError
impl !RefUnwindSafe for LearningError
impl Send for LearningError
impl Sync for LearningError
impl Unpin for LearningError
impl !UnwindSafe for LearningError
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