[][src]Struct avahi_sys::AvahiPoll

#[repr(C)]pub struct AvahiPoll {
    pub userdata: *mut c_void,
    pub watch_new: Option<unsafe extern "C" fn(api: *const AvahiPoll, fd: c_int, event: AvahiWatchEvent, callback: AvahiWatchCallback, userdata: *mut c_void) -> *mut AvahiWatch>,
    pub watch_update: Option<unsafe extern "C" fn(w: *mut AvahiWatch, event: AvahiWatchEvent)>,
    pub watch_get_events: Option<unsafe extern "C" fn(w: *mut AvahiWatch) -> AvahiWatchEvent>,
    pub watch_free: Option<unsafe extern "C" fn(w: *mut AvahiWatch)>,
    pub timeout_new: Option<unsafe extern "C" fn(api: *const AvahiPoll, tv: *const timeval, callback: AvahiTimeoutCallback, userdata: *mut c_void) -> *mut AvahiTimeout>,
    pub timeout_update: Option<unsafe extern "C" fn(arg1: *mut AvahiTimeout, tv: *const timeval)>,
    pub timeout_free: Option<unsafe extern "C" fn(t: *mut AvahiTimeout)>,
}

Fields

userdata: *mut c_voidwatch_new: Option<unsafe extern "C" fn(api: *const AvahiPoll, fd: c_int, event: AvahiWatchEvent, callback: AvahiWatchCallback, userdata: *mut c_void) -> *mut AvahiWatch>watch_update: Option<unsafe extern "C" fn(w: *mut AvahiWatch, event: AvahiWatchEvent)>watch_get_events: Option<unsafe extern "C" fn(w: *mut AvahiWatch) -> AvahiWatchEvent>watch_free: Option<unsafe extern "C" fn(w: *mut AvahiWatch)>timeout_new: Option<unsafe extern "C" fn(api: *const AvahiPoll, tv: *const timeval, callback: AvahiTimeoutCallback, userdata: *mut c_void) -> *mut AvahiTimeout>timeout_update: Option<unsafe extern "C" fn(arg1: *mut AvahiTimeout, tv: *const timeval)>timeout_free: Option<unsafe extern "C" fn(t: *mut AvahiTimeout)>

Trait Implementations

impl Clone for AvahiPoll[src]

impl Copy for AvahiPoll[src]

impl Debug for AvahiPoll[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.