flipperzero_sys

Type Alias BleSvcEventHandlerCb

Source
pub type BleSvcEventHandlerCb = Option<unsafe extern "C" fn(event: *mut c_void, context: *mut c_void) -> BleEventAckStatus>;

Aliased Type§

enum BleSvcEventHandlerCb {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u8)

Some value of type T.