Type Alias esp_idf_svc::sys::StreamBufferCallbackFunction_t

source ·
pub type StreamBufferCallbackFunction_t = Option<unsafe extern "C" fn(_: *mut StreamBufferDef_t, _: i32, _: *mut i32)>;
Expand description

Type used as a stream buffer’s optional callback.

Aliased Type§

enum StreamBufferCallbackFunction_t {
    None,
    Some(unsafe extern "C" fn(_: *mut StreamBufferDef_t, _: i32, _: *mut i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut StreamBufferDef_t, _: i32, _: *mut i32))

Some value of type T.