Function plumbum::consume
[−]
[src]
pub fn consume<'a, I: 'a, O: 'a>() -> ConduitM<'a, I, O, Option<I>>
Wait for an input chunk from upstream.
If no data is available, returns None
.
Once it returns None
, subsequent calls will also return None
.