Trait PipeExt

Source
pub trait PipeExt<I, O> {
    // Required method
    fn compose<P>(self, other: Pipe<O, P>) -> Pipe<I, P>
       where P: Send + 'static;
}
Expand description

Extension trait for pipes

Required Methods§

Source

fn compose<P>(self, other: Pipe<O, P>) -> Pipe<I, P>
where P: Send + 'static,

Compose this pipe with another pipe

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<I, O> PipeExt<I, O> for Pipe<I, O>
where I: Send + 'static, O: Send + 'static,