Function tchannel::oneshot::channel [] [src]

pub fn channel<T: Send + Sync>() -> (Sender<T>, Receiver<T>)

Create a new oneshot channel.