Skip to main content

span_rx_handler_t

Type Alias span_rx_handler_t 

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

\brief A handler for pure receive. The buffer cannot be altered.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.