Function hydroflow::util::unix_bytes

source ·
pub fn unix_bytes(
    stream: UnixStream
) -> (FramedWrite<OwnedWriteHalf, LengthDelimitedCodec>, FramedRead<OwnedReadHalf, LengthDelimitedCodec>)
Expand description

Helper creates a Unix Stream and Sink for Bytes strings where each string is length-delimited.