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