Expand description
zeroconf-tokio
is a Tokio-based wrapper around the zeroconf
crate, which provides mDNS service discovery and
registration capabilities.
Re-exports§
pub use browser::MdnsBrowserAsync;
pub use service::MdnsServiceAsync;
Modules§
- avahi
- Linux-specific ZeroConf bindings
- browser
- Asynchronous mDNS browser.
- error
- Utilities regarding error handling
- event_
loop - Trait definition for cross-platform event loop
- event_
processor - Event processor for mDNS event loop.
- prelude
- Crate prelude
- service
- Asynchronous mDNS service registration.
- txt_
record - TxtRecord utilities common to all platforms
Structs§
- Service
Discovery - Represents a service that has been discovered by a
MdnsBrowser
. - Service
Registration - Represents a registration event for a
MdnsService
. - Service
Type - Data type for constructing a service type to register as an mDNS service.
Enums§
- Network
Interface - Represents a network interface for mDNS services
Functions§
Type Aliases§
- Event
Loop - Type alias for the platform-specific structure responsible for polling the mDNS event loop
- Mdns
Browser - Type alias for the platform-specific mDNS browser implementation
- Mdns
Service - Type alias for the platform-specific mDNS service implementation
- Result
- Result type for this library
- Service
Discovered Callback - Callback invoked from
MdnsBrowser
once a service has been discovered and resolved. - Service
Registered Callback - Callback invoked from
MdnsService
once it has successfully registered. - TxtRecord
- Type alias for the platform-specific structure responsible for storing and accessing TXT record data