pub enum ProcedureLearningError {
InsufficientObservations {
observed: u32,
required: u32,
},
FitnessBelowThreshold {
fitness: f32,
required: f32,
},
NonSuccessfulOutcome,
EmptyExperience,
}Variants§
Trait Implementations§
Source§impl Debug for ProcedureLearningError
impl Debug for ProcedureLearningError
Source§impl Display for ProcedureLearningError
impl Display for ProcedureLearningError
Source§impl Error for ProcedureLearningError
impl Error for ProcedureLearningError
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 ProcedureLearningError
impl PartialEq for ProcedureLearningError
Source§fn eq(&self, other: &ProcedureLearningError) -> bool
fn eq(&self, other: &ProcedureLearningError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcedureLearningError
Auto Trait Implementations§
impl Freeze for ProcedureLearningError
impl RefUnwindSafe for ProcedureLearningError
impl Send for ProcedureLearningError
impl Sync for ProcedureLearningError
impl Unpin for ProcedureLearningError
impl UnsafeUnpin for ProcedureLearningError
impl UnwindSafe for ProcedureLearningError
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