Browse Source

Make Dns's QueryHandle public

Emil Fresk 3 years ago
parent
commit
5fdae13164
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/socket/mod.rs

+ 1 - 1
src/socket/mod.rs

@@ -33,7 +33,7 @@ mod waker;
 #[cfg(feature = "socket-dhcpv4")]
 pub use self::dhcpv4::{Config as Dhcpv4Config, Dhcpv4Socket, Event as Dhcpv4Event};
 #[cfg(feature = "socket-dns")]
-pub use self::dns::{DnsQuery, DnsSocket};
+pub use self::dns::{DnsQuery, DnsSocket, QueryHandle as DnsQueryHandle};
 #[cfg(feature = "socket-icmp")]
 pub use self::icmp::{Endpoint as IcmpEndpoint, IcmpPacketMetadata, IcmpSocket, IcmpSocketBuffer};
 #[cfg(feature = "socket-raw")]