Type Alias esp_idf_sys::arg_cmdfn

source ·
pub type arg_cmdfn = Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char, res: arg_dstr_t) -> c_int>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.