Trait IntoWallet

Source
pub trait IntoWallet<N = Ethereum>:
    Send
    + Sync
    + Debug
where N: Network,
{ type NetworkWallet: NetworkWallet<N>; // Required method fn into_wallet(self) -> Self::NetworkWallet; }
Available on crate feature network only.
Expand description

A trait for converting a signer into a NetworkWallet.

Required Associated Types§

Source

type NetworkWallet: NetworkWallet<N>

The wallet type for the network.

Required Methods§

Source

fn into_wallet(self) -> Self::NetworkWallet

Convert the signer into a wallet.

Implementors§

Source§

impl<W, N> IntoWallet<N> for W
where W: NetworkWallet<N>, N: Network,