pub fn symmetric_channel<T: Serialize + DeserializeOwned>() -> Result<(Sender<T>, Receiver<T>)>
Creates a typed connected channel where the same type is both sent and received.