pub struct ExpressionError {
pub message: String,
pub span: Option<Span>,
pub budget_exceeded: bool,
}Expand description
A temple evaluation error, flattened so RunError can compare equal.
Fields§
§message: StringWhat went wrong, as temple words it.
span: Option<Span>Where in the flow’s source, when temple knows.
budget_exceeded: boolThe run used up Limits::steps.
Trait Implementations§
Source§impl Clone for ExpressionError
impl Clone for ExpressionError
Source§impl Debug for ExpressionError
impl Debug for ExpressionError
impl Eq for ExpressionError
Source§impl From<EvalError> for ExpressionError
impl From<EvalError> for ExpressionError
Source§impl PartialEq for ExpressionError
impl PartialEq for ExpressionError
impl StructuralPartialEq for ExpressionError
Auto Trait Implementations§
impl Freeze for ExpressionError
impl RefUnwindSafe for ExpressionError
impl Send for ExpressionError
impl Sync for ExpressionError
impl Unpin for ExpressionError
impl UnsafeUnpin for ExpressionError
impl UnwindSafe for ExpressionError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.