Enum zen_engine::EvaluationError
source · pub enum EvaluationError {
LoaderError(Box<LoaderError>),
NodeError(Box<NodeError>),
DepthLimitExceeded,
InvalidGraph(Box<DecisionGraphValidationError>),
}Variants§
LoaderError(Box<LoaderError>)
NodeError(Box<NodeError>)
DepthLimitExceeded
InvalidGraph(Box<DecisionGraphValidationError>)
Trait Implementations§
source§impl Debug for EvaluationError
impl Debug for EvaluationError
source§impl Display for EvaluationError
impl Display for EvaluationError
source§impl Error for EvaluationError
impl Error for EvaluationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Box<LoaderError>> for Box<EvaluationError>
impl From<Box<LoaderError>> for Box<EvaluationError>
source§fn from(error: Box<LoaderError>) -> Self
fn from(error: Box<LoaderError>) -> Self
Converts to this type from the input type.
source§impl From<DecisionGraphValidationError> for Box<EvaluationError>
impl From<DecisionGraphValidationError> for Box<EvaluationError>
source§fn from(error: DecisionGraphValidationError) -> Self
fn from(error: DecisionGraphValidationError) -> Self
Converts to this type from the input type.
source§impl From<LoaderError> for Box<EvaluationError>
impl From<LoaderError> for Box<EvaluationError>
source§fn from(error: LoaderError) -> Self
fn from(error: LoaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationError
impl Send for EvaluationError
impl Sync for EvaluationError
impl Unpin for EvaluationError
impl UnwindSafe for EvaluationError
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