eof

Function eof 

Source
pub fn eof<E>() -> (Sender<E>, Receiver<E>)
Expand description

Create closed bytes stream.

This method construct two objects responsible for bytes stream generation.