Skip to main content

CFNetServiceMonitorClientCallBack

Type Alias CFNetServiceMonitorClientCallBack 

Source
pub type CFNetServiceMonitorClientCallBack = Option<unsafe extern "C" fn(theMonitor: CFNetServiceMonitorRef, theService: CFNetServiceRef, typeInfo: CFNetServiceMonitorType, rdata: CFDataRef, error: *mut CFStreamError, info: *mut c_void)>;

Aliased Type§

pub enum CFNetServiceMonitorClientCallBack {
    None,
    Some(unsafe extern "C" fn(*mut __CFNetServiceMonitor, *mut __CFNetService, i32, *const __CFData, *mut CFStreamError, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut __CFNetServiceMonitor, *mut __CFNetService, i32, *const __CFData, *mut CFStreamError, *mut c_void))

Some value of type T.