flipperzero_sys

Type Alias FuriPubSubCallback

Source
pub type FuriPubSubCallback = Option<unsafe extern "C" fn(message: *const c_void, context: *mut c_void)>;
Expand description

FuriPubSub Callback type

Aliased Type§

enum FuriPubSubCallback {
    None,
    Some(unsafe extern "C" fn(_: *const c_void, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const c_void, _: *mut c_void))

Some value of type T.