Trait HasWalletAt

Source
pub trait HasWalletAt<WalletKind, const I: usize>: HasChainType
where Self::Chain: HasWalletType,
{ // Required method fn wallet_at( &self, kind: WalletKind, index: Index<I>, ) -> &WalletOf<Self::Chain>; }

Required Methods§

Source

fn wallet_at(&self, kind: WalletKind, index: Index<I>) -> &WalletOf<Self::Chain>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<ChainDriver, WalletKind, const I: usize> HasWalletAt<WalletKind, I> for ChainDriver
where Self::Chain: HasWalletType, ChainDriver: HasChainType + HasComponents, ChainDriver::Components: WalletGetterAt<ChainDriver, WalletKind, I>,