Skip to main content

CFHostClientCallBack

Type Alias CFHostClientCallBack 

Source
pub type CFHostClientCallBack = Option<unsafe extern "C" fn(theHost: CFHostRef, typeInfo: CFHostInfoType, error: *const CFStreamError, info: *mut c_void)>;
Expand description

Apple SDK type alias CFHostClientCallBack.

Aliased Type§

pub enum CFHostClientCallBack {
    None,
    Some(unsafe extern "C" fn(*mut __CFHost, i32, *const CFStreamError, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut __CFHost, i32, *const CFStreamError, *mut c_void))

Some value of type T.