pub fn udp_lines(
socket: UdpSocket,
) -> (UdpFramedSink<LinesCodec, String>, UdpFramedStream<LinesCodec>, SocketAddr)
Expand description
Helper creates a UDP Stream
and Sink
for String
s delimited by newlines.
pub fn udp_lines(
socket: UdpSocket,
) -> (UdpFramedSink<LinesCodec, String>, UdpFramedStream<LinesCodec>, SocketAddr)
Helper creates a UDP Stream
and Sink
for String
s delimited by newlines.