Trait grin_wallet_libwallet::WalletInst

source ·
pub trait WalletInst<'a, L, C, K>: Send + Sync
where L: WalletLCProvider<'a, C, K> + Send + Sync, C: NodeClient + 'a, K: Keychain + 'a,
{ // Required method fn lc_provider( &mut self ) -> Result<&mut (dyn WalletLCProvider<'a, C, K> + 'a), Error>; }
Expand description

Combined trait to allow dynamic wallet dispatch

Required Methods§

source

fn lc_provider( &mut self ) -> Result<&mut (dyn WalletLCProvider<'a, C, K> + 'a), Error>

Return the stored instance

Implementors§