pub enum EvaluationError<T: Display + PartialEq + Debug> {
AtomicNotFound(T),
ParameterNotFound(Parameter),
}Expand description
Evaluation error of an expression
Error that can occur during the evaluation of an expression in an environment.
Variants§
AtomicNotFound(T)
Atomic was not found in the environment
ParameterNotFound(Parameter)
Parameter was not found in the environment
Trait Implementations§
Source§impl<T: Clone + Display + PartialEq + Debug> Clone for EvaluationError<T>
impl<T: Clone + Display + PartialEq + Debug> Clone for EvaluationError<T>
Source§fn clone(&self) -> EvaluationError<T>
fn clone(&self) -> EvaluationError<T>
Returns a duplicate 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<T: Display + PartialEq + Debug> Error for EvaluationError<T>
impl<T: Display + PartialEq + Debug> Error for EvaluationError<T>
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 From<EvaluationError<Location>> for PathBuilderError
impl From<EvaluationError<Location>> for PathBuilderError
Source§fn from(err: EvaluationError<Location>) -> Self
fn from(err: EvaluationError<Location>) -> Self
Converts to this type from the input type.
Source§impl From<EvaluationError<Parameter>> for PathBuilderError
impl From<EvaluationError<Parameter>> for PathBuilderError
Source§fn from(err: EvaluationError<Parameter>) -> Self
fn from(err: EvaluationError<Parameter>) -> Self
Converts to this type from the input type.
Source§impl From<EvaluationError<Variable>> for InvalidUpdateError
impl From<EvaluationError<Variable>> for InvalidUpdateError
Source§fn from(value: EvaluationError<Variable>) -> Self
fn from(value: EvaluationError<Variable>) -> Self
Converts to this type from the input type.
Source§impl From<EvaluationError<Variable>> for PathBuilderError
impl From<EvaluationError<Variable>> for PathBuilderError
Source§fn from(err: EvaluationError<Variable>) -> Self
fn from(err: EvaluationError<Variable>) -> Self
Converts to this type from the input type.
impl<T: Display + PartialEq + Debug> StructuralPartialEq for EvaluationError<T>
Auto Trait Implementations§
impl<T> Freeze for EvaluationError<T>where
T: Freeze,
impl<T> RefUnwindSafe for EvaluationError<T>where
T: RefUnwindSafe,
impl<T> Send for EvaluationError<T>where
T: Send,
impl<T> Sync for EvaluationError<T>where
T: Sync,
impl<T> Unpin for EvaluationError<T>where
T: Unpin,
impl<T> UnwindSafe for EvaluationError<T>where
T: UnwindSafe,
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