Crate zeroconf_tokio

Source
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§

ServiceDiscovery
Represents a service that has been discovered by a MdnsBrowser.
ServiceRegistration
Represents a registration event for a MdnsService.
ServiceType
Data type for constructing a service type to register as an mDNS service.

Enums§

NetworkInterface
Represents a network interface for mDNS services

Functions§

check_valid_characters
lstrip_underscore

Type Aliases§

EventLoop
Type alias for the platform-specific structure responsible for polling the mDNS event loop
MdnsBrowser
Type alias for the platform-specific mDNS browser implementation
MdnsService
Type alias for the platform-specific mDNS service implementation
Result
Result type for this library
ServiceDiscoveredCallback
Callback invoked from MdnsBrowser once a service has been discovered and resolved.
ServiceRegisteredCallback
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