Type Alias indyWalletUpdateRecordValueCb

Source
pub type indyWalletUpdateRecordValueCb = Option<unsafe extern "C" fn(handle: indy_handle_t, type_: *const c_char, id: *const c_char, value: *const indy_u8_t, value_len: indy_u32_t) -> indy_error_t>;
Expand description

Update a record value

#Params storage_handle: opened storage handle (See open handler) type_: allows to separate different record types collections id: the id of record value: the value of record (pointer to buffer) value_len: the value of record (buffer size)

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.