Trait Processor

Source
pub trait Processor:
    Send
    + Sync
    + 'static {
    // Required method
    fn call<'life0, 'async_trait>(
        &'life0 self,
        args: JsonValue,
    ) -> Pin<Box<dyn Future<Output = Result<JsonValue, String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

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

Implementors§