Remove framed fn from UdpSocket (#116)

Instead, use `UdpFramed::new` to create a framed wrapper around the UDP
socket.
This commit is contained in:
Carl Lerche
2018-02-07 10:42:27 -08:00
committed by GitHub
parent ad8338e4da
commit c30fa62dda
6 changed files with 38 additions and 49 deletions
+1 -2
View File
@@ -28,8 +28,7 @@
//! [`RecvDgram`] and [`SendDgram`] structs respectively.
//!
//! For convience it's also possible to convert raw datagrams into higher-level
//! frames. This done with [`UdpFramed`], created by calling [`framed`] on a
//! [`UdpSocket`].
//! frames.
//!
//! [`UdpSocket`]: struct.UdpSocket.html
//! [`RecvDgram`]: struct.RecvDgram.html