indyWalletGetRecordTypeCb

Type Alias indyWalletGetRecordTypeCb 

Source
pub type indyWalletGetRecordTypeCb = Option<unsafe extern "C" fn(handle: indy_handle_t, record_handle: indy_handle_t, type_: *mut c_char) -> indy_error_t>;
Expand description

Get an type for retrieved wallet storage record

#Params storage_handle: opened storage handle (See open handler) record_handle: retrieved record handle (See get_record handler)

returns: record type Note that pointer lifetime the same as retrieved record lifetime (until record_free called)

Aliased Type§

pub enum indyWalletGetRecordTypeCb {
    None,
    Some(unsafe extern "C" fn(i32, i32, *mut i8) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.