Function hydroflow::util::unix_lines
source ยท pub fn unix_lines(
stream: UnixStream,
) -> (FramedWrite<OwnedWriteHalf, LinesCodec>, FramedRead<OwnedReadHalf, LinesCodec>)
Expand description
Helper creates a Unix Stream
and Sink
for str
ings delimited by newlines.