pub fn from_tcp_stream(stream: TcpStream, cfg: SharedCfg) -> Result<Io, Error>
Converts a standard-library TCP stream into an Io value.
Io