Skip to main content

DelegateExecutor

Trait DelegateExecutor 

Source
pub trait DelegateExecutor: Send + Sync {
    // Required method
    fn invoke<'life0, 'async_trait>(
        &'life0 self,
        args: Value,
    ) -> Pin<Box<dyn Future<Output = Result<Value, KernelError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Async implementation behind a delegate tool.

Required Methods§

Source

fn invoke<'life0, 'async_trait>( &'life0 self, args: Value, ) -> Pin<Box<dyn Future<Output = Result<Value, KernelError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§