Struct pipelines::Receiver
[−]
[src]
pub struct Receiver<In> { /* fields omitted */ }
Passed to pipelines as their place to get incoming data from the previous stage.
It's possible to use by calling recv
directly, but is primarily for its into_iter
Methods
impl<In> Receiver<In>
[src]
fn recv(&mut self) -> Option<In>
[src]
Get an item from the previous stage
returns None if the remote side has hung up and all data has been received