Struct zeroconf::linux::entry_group::ManagedAvahiEntryGroup [−][src]
pub struct ManagedAvahiEntryGroup(_);
Expand description
Wraps the AvahiEntryGroup
type from the raw Avahi bindings.
This struct allocates a new *mut AvahiEntryGroup
when ManagedAvahiEntryGroup::new()
is
invoked and calls the Avahi function responsible for freeing the group on trait Drop
.
Implementations
Intiializes the underlying *mut AvahiEntryGroup
and verifies it was created; returning
Err(String)
if unsuccessful.
Delegate function for avahi_entry_group_is_empty()
.
Delgate function for avahi_entry_group_add_service()
.
Also propagates any error returned into a Result
.
Delegate function for avahi_entry_group_reset()
.