pub fn wrap_stream<S>(stream: S, limits: FrameLimits) -> LinkDuplexExpand description
Wraps an already-open byte stream in the node link’s frame codec.
The seam the testing harness uses: hand it one end of a
tokio::io::duplex pair and the node cannot tell it from a socket.