Function create_endpoints

pub fn create_endpoints<T>() -> (ClientEnd<T>, ServerEnd<T>)
where T: ProtocolMarker,
Expand description

Creates client and server endpoints connected to by a channel.