[][src]Trait grin_wallet_libwallet::WalletInst

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

Combined trait to allow dynamic wallet dispatch

Required methods

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

Return the stored instance

Loading content...

Implementors

Loading content...