Type Alias esp_idf_svc::sys::io_read_func

source ·
pub type io_read_func = Option<unsafe extern "C" fn(_: *mut esp_transport_item_t, _: *mut i8, _: i32, _: i32) -> i32>;

Aliased Type§

enum io_read_func {
    None,
    Some(unsafe extern "C" fn(_: *mut esp_transport_item_t, _: *mut i8, _: i32, _: i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut esp_transport_item_t, _: *mut i8, _: i32, _: i32) -> i32)

Some value of type T.