pub struct GRLQueryExecutor;Expand description
Executor for GRL queries
Implementations§
Source§impl GRLQueryExecutor
impl GRLQueryExecutor
Sourcepub fn execute(
query: &GRLQuery,
bc_engine: &mut BackwardEngine,
facts: &mut Facts,
) -> Result<QueryResult, RuleEngineError>
pub fn execute( query: &GRLQuery, bc_engine: &mut BackwardEngine, facts: &mut Facts, ) -> Result<QueryResult, RuleEngineError>
Execute a single query
Sourcepub fn execute_queries(
queries: &[GRLQuery],
bc_engine: &mut BackwardEngine,
facts: &mut Facts,
) -> Result<Vec<QueryResult>, RuleEngineError>
pub fn execute_queries( queries: &[GRLQuery], bc_engine: &mut BackwardEngine, facts: &mut Facts, ) -> Result<Vec<QueryResult>, RuleEngineError>
Execute multiple queries
Auto Trait Implementations§
impl Freeze for GRLQueryExecutor
impl RefUnwindSafe for GRLQueryExecutor
impl Send for GRLQueryExecutor
impl Sync for GRLQueryExecutor
impl Unpin for GRLQueryExecutor
impl UnwindSafe for GRLQueryExecutor
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