pub type io_read_func = Option<unsafe extern "C" fn(t: esp_transport_handle_t, buffer: *mut c_char, len: c_int, timeout_ms: c_int) -> c_int>;Aliased Type§
pub enum io_read_func {
None,
Some(unsafe extern "C" fn(*mut esp_transport_item_t, *mut u8, i32, i32) -> i32),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut esp_transport_item_t, *mut u8, i32, i32) -> i32)
Some value of type T.