pub fn sync_channel<T>(bound: usize) -> (SyncSender<T>, Receiver<T>)
Expand description
Creates a new synchronous, bounded channel where the Receiver
can be
registered with Poll
.
pub fn sync_channel<T>(bound: usize) -> (SyncSender<T>, Receiver<T>)
Creates a new synchronous, bounded channel where the Receiver
can be
registered with Poll
.