pub trait WalletExt {
// Required methods
fn act_wallet_get(
&self,
sk: &SecretKey,
) -> impl Future<Output = Result<Option<Wallet>, String>> + Send;
fn act_wallet_save(
&mut self,
wallet: &Wallet,
sk: &SecretKey,
payment: &PaymentOption,
) -> impl Future<Output = Result<PublicKey, String>> + Send;
}Required Methods§
fn act_wallet_get( &self, sk: &SecretKey, ) -> impl Future<Output = Result<Option<Wallet>, String>> + Send
fn act_wallet_save( &mut self, wallet: &Wallet, sk: &SecretKey, payment: &PaymentOption, ) -> impl Future<Output = Result<PublicKey, String>> + Send
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.