pub fn session_channel_dyn<P, R>() -> (Chan<P, (), R>, (Sender<R>, Receiver<R>))
Expand description
Similar to session_channel
; create a typed channel for a protocol P
,
but instead of creating a channel for its dual, return the raw sender
and receiver that can be used to communicate with the channel created.
These can be used in multiplexers to dispatch messages to/from the network.