Skip to main content

CFReadStreamClientCallBack

Type Alias CFReadStreamClientCallBack 

Source
pub type CFReadStreamClientCallBack = Option<unsafe extern "C" fn(stream: CFReadStreamRef, type_: CFStreamEventType, clientCallBackInfo: *mut c_void)>;
Expand description

Apple SDK type alias CFReadStreamClientCallBack.

Aliased Type§

pub enum CFReadStreamClientCallBack {
    None,
    Some(unsafe extern "C" fn(*mut __CFReadStream, u64, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut __CFReadStream, u64, *mut c_void))

Some value of type T.