Type Alias indyWalletGetSearchTotalCountCb

Source
pub type indyWalletGetSearchTotalCountCb = Option<unsafe extern "C" fn(handle: indy_handle_t, search_handle: indy_handle_t, total_count: *mut indy_u32_t) -> indy_error_t>;
Expand description

Get total count of records that corresponds to wallet storage search query

#Params storage_handle: opened storage handle (See open handler) search_handle: wallet search handle (See search_records handler)

returns: total count of records that corresponds to wallet storage search query Note -1 will be returned if retrieveTotalCount set to false for search_records

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.