flipperzero_sys

Type Alias RpcSendBytesCallback

Source
pub type RpcSendBytesCallback = Option<unsafe extern "C" fn(context: *mut c_void, bytes: *mut u8, bytes_len: usize)>;
Expand description

Callback to send to client any data (e.g. response to command)

Aliased Type§

enum RpcSendBytesCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: usize)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.