Function ksched::mpsc::channel[][src]

pub fn channel<T>() -> Result<(Sender<T>, Receiver<T>), AllocError>
Expand description

Creates a unbounded mpsc channel for communicating between asynchronous tasks.