Skip to main content

WriteCb

Type Alias WriteCb 

Source
pub type WriteCb = fn(i32, u8, &[u8]);
Expand description

Callback for writes to device. The first argument is a counter that starts with 0 and is increment each time the callback function is called. The counter can be used to differentiate calls to the function in tests.