channel

Function channel 

Source
pub const fn channel<T>() -> OneshotChannel<T>
Expand description

Creates a new oneshot channel.