pub trait AccountNonceApi: RuntimeApi {
type Index;
type AccountId;
// Required method
fn account_nonce<'life0, 'async_trait>(
&'life0 self,
account_id: Self::AccountId,
at_block: Option<Self::Hash>,
) -> Pin<Box<dyn Future<Output = Result<Self::Index>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Associated Types§
Required 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.