servers::query_handlerTrait ScriptHandler
source pub trait ScriptHandler {
// Required methods
fn insert_script<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
query_ctx: QueryContextRef,
name: &'life1 str,
script: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn execute_script<'life0, 'life1, 'async_trait>(
&'life0 self,
query_ctx: QueryContextRef,
name: &'life1 str,
params: HashMap<String, String>,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}