channel

Function channel 

Source
pub fn channel<Message>() -> (Sender<Message>, Receiver<Message>)
Expand description

Create a channel backed by tokio::sync::Notify and a sync mutex with a vec deque.