Struct zeroconf::linux::client::ManagedAvahiClient [−][src]
pub struct ManagedAvahiClient(_);
Expand description
Wraps the AvahiClient
type from the raw Avahi bindings.
This struct allocates a new *mut AvahiClient
when ManagedAvahiClient::new()
is invoked and
calls the Avahi function responsible for freeing the client on trait Drop
.
Implementations
Initializes the underlying *mut AvahiClient
and verifies it was created; returning
Err(String)
if unsuccessful.
Delegate function for avahi_client_get_host_name()
.