Type Alias indyWalletGetRecordCb

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

Get an wallet storage record by id

#Params storage_handle: opened storage handle (See open handler) type_: allows to separate different record types collections id: the id of record options_json: //TODO: FIXME: Think about replacing by bitmask { retrieveType: (optional, false by default) Retrieve record type, retrieveValue: (optional, true by default) Retrieve record value, retrieveTags: (optional, true by default) Retrieve record tags } record_handle_p: pointer to store retrieved record handle

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.