[][src]Function unbounded_spsc::channel

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

Panics

Zero-size types:

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