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.
pub fn duplex(buffer: usize) -> (MemTransport, MemTransport)Create two connected transports. Frames sent on one are received by the other; dropping a sender closes that direction.