Type Alias esp_idf_hal::sys::trans_func
source · pub type trans_func = Option<unsafe extern "C" fn(_: *mut esp_transport_item_t) -> i32>;
Aliased Type§
enum trans_func {
None,
Some(unsafe extern "C" fn(_: *mut esp_transport_item_t) -> i32),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut esp_transport_item_t) -> i32)
Some value of type T
.