Struct signalo_pipes::sink::UnitPipe[][src]

pub struct UnitPipe<T> { /* fields omitted */ }

A UnitPipe is a simple container wrapping a Source

╠════════════
║ ╭────────╮
║ │ Source │
║ ╰────────╯
╠════════════
└─┬────────┘
  └ UnitPipe

Methods

impl<T> UnitPipe<T>
[src]

Creates a new unit pipe wrapping sink.

Trait Implementations

impl<T: Default> Default for UnitPipe<T>
[src]

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

impl<T: Clone> Clone for UnitPipe<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for UnitPipe<T>
[src]

Formats the value using the given formatter. Read more

impl<T, Rhs> BitOr<Rhs> for UnitPipe<T>
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<T, I> Sink<I> for UnitPipe<T> where
    T: Sink<I>, 
[src]

The sink's output type.

Processes the input value.

Consumes self, returning an accumulated output.

impl<T, I> Filter<I> for UnitPipe<T> where
    T: Sink<I>, 
[src]

The filter's output type.

Processes the input value, returning a corresponding output.

Auto Trait Implementations

impl<T> Send for UnitPipe<T> where
    T: Send

impl<T> Sync for UnitPipe<T> where
    T: Sync