Type Alias esp_idf_sys::StreamBufferCallbackFunction_t

source ·
pub type StreamBufferCallbackFunction_t = Option<unsafe extern "C" fn(xStreamBuffer: StreamBufferHandle_t, xIsInsideISR: BaseType_t, pxHigherPriorityTaskWoken: *mut BaseType_t)>;
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.