Struct zeroconf::linux::service::AvahiMdnsService[][src]

pub struct AvahiMdnsService { /* fields omitted */ }

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Sets the name to register this service under. If no name is set, the client’s host name will be used instead.

See: AvahiClient::host_name()

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 SRV target host name. 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

Registers and start’s the service. Returns an EventLoop which can be called to keep the service alive. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.