Skip to main content

span_tx_handler_t

Type Alias span_tx_handler_t 

Source
pub type span_tx_handler_t = Option<unsafe extern "C" fn(s: *mut c_void, amp: *mut i16, max_len: c_int) -> c_int>;
Expand description

\brief A handler for transmit, where the buffer will be filled.

Aliased Type§

pub enum span_tx_handler_t {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut i16, i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut i16, i32) -> i32)

Some value of type T.