Function tokio::sync::mpsc::chan::channel

source ·
pub(crate) fn channel<T, S: Semaphore>(semaphore: S) -> (Tx<T, S>, Rx<T, S>)