[−][src]Function indyrs::cache::purge_cred_def_cache
pub fn purge_cred_def_cache(
wallet_handle: WalletHandle,
options_json: &str
) -> Box<dyn Future<Item = (), Error = IndyError>>
Purge credential definition cache.
EXPERIMENTAL
Arguments
wallet_handle
- wallet handle (created by open_wallet).id
- identifier of credential definition.options_json
- { maxAge: (int, optional, -1 by default) Purge cached data if older than this many seconds. -1 means purge all. }