Type Alias flipperzero_sys::StreamWriteCB

source ·
pub type StreamWriteCB = Option<unsafe extern "C" fn(stream: *mut Stream, context: *const c_void) -> bool>;

Aliased Type§

enum StreamWriteCB {
    None,
    Some(unsafe extern "C" fn(_: *mut Stream, _: *const c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.