pub fn tcp_lines(
stream: TcpStream,
) -> (FramedWrite<OwnedWriteHalf, LinesCodec>, FramedRead<OwnedReadHalf, LinesCodec>)Expand description
Helper creates a TCP Stream and Sink for strings delimited by newlines.
pub fn tcp_lines(
stream: TcpStream,
) -> (FramedWrite<OwnedWriteHalf, LinesCodec>, FramedRead<OwnedReadHalf, LinesCodec>)Helper creates a TCP Stream and Sink for strings delimited by newlines.