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