Function channel

Source
pub fn channel<TX, RX>() -> Result<(Channel<TX, RX>, Channel<RX, TX>), Error>