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().

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. 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.