pub trait ConnectedAccount: Account {
type Provider: Provider + Sync;
// Required method
fn provider(&self) -> &Self::Provider;
// Provided methods
fn block_id(&self) -> BlockId { ... }
fn get_nonce<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Felt, ProviderError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}Expand description
Required Associated Types§
Required Methods§
Provided Methods§
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.