RunnableExt

Trait RunnableExt 

Source
pub trait RunnableExt<I: Send + 'static, O: Send + 'static> {
    // Required method
    fn pipe<NextO: Send + 'static>(
        self: Box<Self>,
        next: impl Runnable<O, NextO> + Send + Sync + 'static,
    ) -> impl Runnable<I, NextO> + Send + Sync
       where Self: Sized + 'static + Send + Sync;
}

Required Methods§

Source

fn pipe<NextO: Send + 'static>( self: Box<Self>, next: impl Runnable<O, NextO> + Send + Sync + 'static, ) -> impl Runnable<I, NextO> + Send + Sync
where Self: Sized + 'static + Send + Sync,

Implementors§

Source§

impl<T: Runnable<I, O> + ?Sized, I: Send + 'static, O: Send + 'static> RunnableExt<I, O> for T