Type Alias indyOpenWalletCb

Source
pub type indyOpenWalletCb = Option<unsafe extern "C" fn(name: *const c_char, config: *const c_char, credentials: *const c_char, handle: *mut indy_handle_t) -> indy_error_t>;
Expand description

Open the wallet storage (For example, opening database connection)

#Params name: wallet storage name (the same as wallet name) config: wallet storage config (For example, database config) credentials_json: wallet storage credentials (For example, database credentials) storage_handle_p: pointer to store opened storage handle

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.