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