FnMap

Trait FnMap 

Source
pub trait FnMap: Send + Sync {
    // Required method
    fn call<'life0, 'async_trait>(
        &'life0 self,
        value: Value,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Value>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

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

Implementors§

Source§

impl<F> FnMap for MapFn<F>
where F: Fn(Value) -> Vec<Value> + Send + Sync,