pub trait EvaluateQuery:
Send
+ Sync
+ DynClone {
// Required method
fn evaluate<'life0, 'async_trait>(
&'life0 self,
evaluation: QueryEvaluation,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Evaluates a query
An evaluator needs to be able to respond to each step in the query pipeline
Required Methods§
fn evaluate<'life0, 'async_trait>(
&'life0 self,
evaluation: QueryEvaluation,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Trait Implementations§
Source§impl<'clone> Clone for Box<dyn EvaluateQuery + 'clone>
impl<'clone> Clone for Box<dyn EvaluateQuery + 'clone>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more