symmetric_channel

Function symmetric_channel 

Source
pub fn symmetric_channel<T: Serialize + DeserializeOwned>() -> Result<(Sender<T>, Receiver<T>)>
Expand description

Creates a typed connected channel where the same type is both sent and received.