Skip to main content

duplex

Function duplex 

Source
pub fn duplex(buffer: usize) -> (MemTransport, MemTransport)
Expand description

Create two connected transports. Frames sent on one are received by the other; dropping a sender closes that direction.