Function unbounded_spsc::channel [] [src]

pub fn channel<T: 'static>() -> (Sender<T>, Receiver<T>)

Panics

Zero-size types:

let (p, c) = channel::<()>();   // ERROR: 0-size types are not supported