pub struct Pipe<T, U> { /* fields omitted */ }
Expand description
A Pipe
is a simple container joining a pair of Filter
/Source
/Sink
/Finalize
impls.
pub fn new(lhs: T, rhs: U) -> Self
Creates a new pipe connecting lhs
and rhs
.
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.