cm_util::channel

Function take_channel

Source
pub fn take_channel(chan: &mut Channel) -> Channel
Expand description

Takes ownership of the channel in chan. chan is replaced with an invalid channel.