Crate wez_mdns Copy item path Source pub use dns_parser::QueryType ;dns_parser The network-agnostic DNS parser library mac_addr Working with MAC addresses net_utils Networking helpers Host The resolved information about a host (or rather, a service) QueryParameters Controls how to perform the query.
You will typically use one of the associated constants
DISCOVERY ,
SERVICE_LOOKUP ,
HOST_LOOKUP Record mDNS Records compose into a Response Response An mDNS query response Error Errors that may occur during resolution/discovery RecordKind mDNS record data of various kinds resolve Resolve records matching the requested service name.
Returns a Receiver that will yield successive responses.
Once timeout passes, the Sender side of the receiver
will disconnect and the channel will yield a RecvError. resolve_one Resolve a single host using an mDNS request.
Returns a Response if found within the specified timeout,
otherwise yields an Error. Result