Struct mdns_sd::ServiceInfo
source ·
[−]pub struct ServiceInfo { /* fields omitted */ }Expand description
Complete info about a Service Instance.
We can construct one PTR, one SRV and one TXT record from this info, as well as A (IPv4 Address) records.
Implementations
Creates a new service info.
my_name is the instance name, without the service type suffix.
properties are optional key/value pairs for the service.
The host TTL and other TTL are set to default values.
Returns a reference of the service fullname.
This is useful, for example, in unregister.
Returns a reference of the properties from TXT records.
Returns the service’s hostname.
Returns the service’s addresses
Returns the service’s TTL used for SRV and Address records.
Returns the service’s TTL used for PTR and TXT records.
