Trait substrate_subxt::staking::LedgerStoreExt [−][src]
Store extension trait.
Required methods
fn ledger<'a>(
&'a self,
controller: T::AccountId,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<Option<StakingLedger<T::AccountId, T::Balance>>, Error>> + Send + 'a>>
[src]
&'a self,
controller: T::AccountId,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<Option<StakingLedger<T::AccountId, T::Balance>>, Error>> + Send + 'a>>
Retrieve the store element.
fn ledger_iter<'a>(
&'a self,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LedgerStore<T>>, Error>> + Send + 'a>>
[src]
&'a self,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LedgerStore<T>>, Error>> + Send + 'a>>
Iterate over the store element.
Implementors
impl<T: Runtime + Staking> LedgerStoreExt<T> for Client<T>
[src]
fn ledger<'a>(
&'a self,
controller: T::AccountId,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<Option<StakingLedger<T::AccountId, T::Balance>>, Error>> + Send + 'a>>
[src]
&'a self,
controller: T::AccountId,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<Option<StakingLedger<T::AccountId, T::Balance>>, Error>> + Send + 'a>>
fn ledger_iter<'a>(
&'a self,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LedgerStore<T>>, Error>> + Send + 'a>>
[src]
&'a self,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LedgerStore<T>>, Error>> + Send + 'a>>