Function crossbeam_channel::counter::new

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

Wraps a channel into the reference counter.