Struct signalo_pipes::source::Pipe[][src]

pub struct Pipe<T, U> { /* fields omitted */ }

A Pipe is a simple container joining a pair of a Source and a Filter

╠════════════ + ════════════
║ ╭────────╮  +  ╭────────╮
║ │ Source │  +  │ Filter │
║ ╰────────╯  +  ╰────────╯
╠════════════ + ════════════
└─┬───────────────────────┘
  └ Pipe

Methods

impl<T, U> Pipe<T, U>
[src]

Creates a new pipe connecting lhs and rhs.

Trait Implementations

impl<T: Default, U: Default> Default for Pipe<T, U>
[src]

Returns the "default value" for a type. Read more

impl<T: Clone, U: Clone> Clone for Pipe<T, U>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug, U: Debug> Debug for Pipe<T, U>
[src]

Formats the value using the given formatter. Read more

impl<T, U> From<(T, U)> for Pipe<T, U>
[src]

Performs the conversion.

impl<T, U, Rhs> BitOr<Rhs> for Pipe<T, U>
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<T, U> Source for Pipe<T, U> where
    T: Source,
    U: Filter<T::Output>, 
[src]

The source's output type.

Produces the next value in the stream of values.

impl<T, U> Filter<()> for Pipe<T, U> where
    T: Source,
    U: Filter<T::Output>, 
[src]

The filter's output type.

Processes the input value, returning a corresponding output.

Auto Trait Implementations

impl<T, U> Send for Pipe<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for Pipe<T, U> where
    T: Sync,
    U: Sync