Trait EvalErrorReport

Source
pub trait EvalErrorReport:
    Clone
    + Send
    + Sync {
    // Required method
    fn report(&self, error: ExprError);
}
Expand description

Report an error during evaluation.

Required Methods§

Source

fn report(&self, error: ExprError)

Perform the error reporting.

Called when an error occurs during row-level evaluation of a non-strict expression, that is, wrapped by NonStrict.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl EvalErrorReport for !

A dummy implementation that panics when called.

Used as the type parameter for the expression builder when non-strict evaluation is not required.

Source§

fn report(&self, _error: ExprError)

Source§

impl<'a, T: 'a + EvalErrorReport + ?Sized> EvalErrorReport for &'a T
where &'a T: Clone + Send + Sync,

Source§

fn report(&self, error: ExprError)

Source§

impl<T: EvalErrorReport + ?Sized> EvalErrorReport for Arc<T>
where Arc<T>: Clone + Send + Sync,

Source§

fn report(&self, error: ExprError)

Implementors§