Trait vector_core::sink::StreamSink

source ·
pub trait StreamSink<T> {
    // Required method
    fn run<'life0, 'async_trait>(
        self: Box<Self>,
        input: BoxStream<'life0, T>,
    ) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn run<'life0, 'async_trait>( self: Box<Self>, input: BoxStream<'life0, T>, ) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§