Struct signalo_pipes::prelude::FilterUnitPipe[][src]

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

A UnitPipe is a simple container wrapping a Filter

════════════
 ╭────────╮
 │ Filter │
 ╰────────╯
════════════
└─┬────────┘
  └ UnitPipe

Methods

impl<T> UnitPipe<T>
[src]

Creates a new unit pipe wrapping filter.

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> Filter<I> for UnitPipe<T> where
    T: Filter<I>, 
[src]

The filter's output type.

Processes the input value, returning a corresponding output.

impl<T> Source for UnitPipe<T> where
    T: Filter<()>, 
[src]

The source's output type.

Produces the next value in the stream of values.

impl<T, I> Sink<I> for UnitPipe<T> where
    T: Filter<I, Output = ()>, 
[src]

The sink's output type.

Processes the input value.

Consumes self, returning an accumulated output.

Auto Trait Implementations

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

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