[][src]Struct zeroconf::linux::raw_browser::ManagedAvahiServiceBrowser

pub struct ManagedAvahiServiceBrowser { /* fields omitted */ }

Wraps the AvahiServiceBrowser type from the raw Avahi bindings.

This struct allocates a new *mut AvahiServiceBrowser when ManagedAvahiServiceBrowser::new() is invoked and calls the Avahi function responsible for freeing the client on trait Drop.

Implementations

impl ManagedAvahiServiceBrowser[src]

pub fn new(
    ManagedAvahiServiceBrowserParams { client: client, interface: interface, protocol: protocol, kind: kind, domain: domain, flags: flags, callback: callback, userdata: userdata }: ManagedAvahiServiceBrowserParams<'_>
) -> Result<Self, String>
[src]

Intializes the underlying *mut AvahiClient and verifies it was created; returning Err(String) if unsuccessful.

Trait Implementations

impl Debug for ManagedAvahiServiceBrowser[src]

impl Drop for ManagedAvahiServiceBrowser[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.