mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
+1
-1
@@ -15,7 +15,7 @@ futures and streams.
|
|||||||
futures = { path = "..", version = "0.1.0" }
|
futures = { path = "..", version = "0.1.0" }
|
||||||
futures-io = { path = "../futures-io", version = "0.1.0" }
|
futures-io = { path = "../futures-io", version = "0.1.0" }
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
mio = { git = "https://github.com/carllerche/mio", rev = "049d3ebd" }
|
mio = { git = "https://github.com/carllerche/mio" }
|
||||||
scoped-tls = "0.1.0"
|
scoped-tls = "0.1.0"
|
||||||
slab = "0.2.0"
|
slab = "0.2.0"
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ use mio;
|
|||||||
use {ReadinessStream, LoopHandle};
|
use {ReadinessStream, LoopHandle};
|
||||||
use event_loop::Source;
|
use event_loop::Source;
|
||||||
|
|
||||||
|
|
||||||
/// An I/O object representing a UDP socket.
|
/// An I/O object representing a UDP socket.
|
||||||
pub struct UdpSocket {
|
pub struct UdpSocket {
|
||||||
source: Arc<Source<mio::udp::UdpSocket>>,
|
source: Arc<Source<mio::udp::UdpSocket>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user