Type Alias indyCreateWalletCb

Source
pub type indyCreateWalletCb = Option<unsafe extern "C" fn(name: *const c_char, config: *const c_char, credentials_json: *const c_char, metadata: *const c_char) -> indy_error_t>;
Expand description

Create the wallet storage (For example, database creation)

#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) metadata: wallet metadata (For example encrypted keys).

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.