Type Alias indyWalletGetRecordValueCb

Source
pub type indyWalletGetRecordValueCb = Option<unsafe extern "C" fn(handle: indy_handle_t, record_handle: indy_handle_t, value: *mut indy_u8_t, value_len: indy_u32_t) -> indy_error_t>;
Expand description

Get an value 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 value Note that pointer lifetime the same as retrieved record lifetime (until record_free called) Note that null be returned if no value retrieved

Aliased Type§

pub enum indyWalletGetRecordValueCb {
    None,
    Some(unsafe extern "C" fn(i32, i32, *mut u8, u32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.