session_channel

Function session_channel 

Source
pub fn session_channel<P: HasDual, R>() -> (Chan<P, (), R>, Chan<<P as HasDual>::Dual, (), R>)
Expand description

Create a pair of server and client channels for a given protocol P.