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