pub struct UnitPipe<T> { /* fields omitted */ }
Expand description
A UnitPipe
is a simple container wrapping a Filter
/Source
/Sink
/Finalize
impl.
pub fn new(inner: T) -> Self
Creates a new unit pipe wrapping inner
.
The resulting type after applying the |
operator.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
The filter’s output type.
Processes the input value, returning a corresponding output.
Consumes self
, returning an accumulated output.
fn sink(&mut self, input: I)
Processes the input value.
The source’s output type.
Produces the next value in the stream of values.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.