Script

Trait Script 

Source
pub trait Script: Send + Sync {
    // Required method
    fn call<'life0, 'life1, 'async_trait>(
        &'life0 self,
        _ffi_reg: &'life1 Registry,
        name: String,
        param: BTreeMap<String, Value>,
    ) -> Pin<Box<dyn Future<Output = SResult<BTreeMap<String, Value>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn call<'life0, 'life1, 'async_trait>( &'life0 self, _ffi_reg: &'life1 Registry, name: String, param: BTreeMap<String, Value>, ) -> Pin<Box<dyn Future<Output = SResult<BTreeMap<String, Value>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§