Struct zeroconf::linux::service::AvahiMdnsService [−][src]
pub struct AvahiMdnsService { /* fields omitted */ }
Trait Implementations
Sets the name to register this service under. If no name is set, the client’s host name will be used instead.
Creates a new MdnsService
with the specified ServiceType
(e.g. _http._tcp
) and port
.
Sets the network interface to bind this service to. Read more
Sets the domain on which to advertise the service. Read more
Sets the optional TxtRecord
to register this service with.
Sets the ServiceRegisteredCallback
that is invoked when the service has been
registered. Read more
Sets the optional user context to pass through to the callback. This is useful if you need
to share state between pre and post-callback. The context type must implement Any
. Read more