udp: UdpSocket split support (#1226)

This commit is contained in:
Yin Guanhao
2019-07-08 14:47:31 -07:00
committed by Carl Lerche
parent 8b49a1e05f
commit 88e775dcf0
9 changed files with 247 additions and 13 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ pub mod udp {
//! [`Send`]: struct.Send.html
//! [`RecvFrom`]: struct.RecvFrom.html
//! [`SendTo`]: struct.SendTo.html
pub use tokio_udp::{Recv, RecvFrom, Send, SendTo, UdpSocket};
pub use tokio_udp::{split, Recv, RecvFrom, Send, SendTo, UdpSocket};
}
#[cfg(feature = "udp")]
pub use self::udp::UdpSocket;