Function mio::channel::channel
[−]
[src]
pub fn channel<T>() -> (Sender<T>, Receiver<T>)
Creates a new asynchronous channel, where the Receiver
can be registered
with Poll
.