pub trait WalletAddressStore: Send + Sync {
// Provided methods
fn get_wallet_address<'life0, 'life1, 'async_trait>(
&'life0 self,
_address: &'life1 str,
_chain_id: Option<f64>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<WalletAddress>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn create_wallet_address<'life0, 'async_trait>(
&'life0 self,
_data: CreateWalletAddress,
) -> Pin<Box<dyn Future<Output = AuthResult<WalletAddress>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Provided Methods§
Sourcefn get_wallet_address<'life0, 'life1, 'async_trait>(
&'life0 self,
_address: &'life1 str,
_chain_id: Option<f64>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<WalletAddress>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_wallet_address<'life0, 'life1, 'async_trait>(
&'life0 self,
_address: &'life1 str,
_chain_id: Option<f64>,
) -> Pin<Box<dyn Future<Output = AuthResult<Option<WalletAddress>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Return the adapter’s first address match, optionally restricted to a chain. No expiry filter or implicit chain ordering applies.
Sourcefn create_wallet_address<'life0, 'async_trait>(
&'life0 self,
_data: CreateWalletAddress,
) -> Pin<Box<dyn Future<Output = AuthResult<WalletAddress>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_wallet_address<'life0, 'async_trait>(
&'life0 self,
_data: CreateWalletAddress,
) -> Pin<Box<dyn Future<Output = AuthResult<WalletAddress>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Validate that the owner exists and insert the wallet under the same transaction/lock. User deletion must remove these owned records under its transaction/lock, including application-owned user schemas.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".