Skip to main content

StreamBufferCallbackFunction_t

Type Alias 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§

pub 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.