Source

Trait Source 

Source
pub trait Source: Send {
    // Required method
    fn run<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        ctx: &'life1 mut dyn Context,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

A data source that pushes records into the pipeline.

Required Methods§

Source

fn run<'life0, 'life1, 'async_trait>( &'life0 mut self, ctx: &'life1 mut dyn Context, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl<T> Source for Box<T>
where T: Source + ?Sized,

Source§

fn run<'life0, 'life1, 'async_trait>( &'life0 mut self, ctx: &'life1 mut dyn Context, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§