Function std::sync::mpmc::counter::new

source ·
pub(crate) fn new<C>(chan: C) -> (Sender<C>, Receiver<C>)
Expand description

Wraps a channel into the reference counter.