Trait tetcore_subxt::balances::LocksStoreExt[][src]

pub trait LocksStoreExt<T: Runtime + Balances> {
    fn locks<'a>(
        &'a self,
        account_id: &'a T::AccountId,
        hash: Option<T::Hash>
    ) -> Pin<Box<dyn Future<Output = Result<Vec<BalanceLock<T::Balance>>, Error>> + Send + 'a>>;
fn locks_iter<'a>(
        &'a self,
        hash: Option<T::Hash>
    ) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LocksStore<'a, T>>, Error>> + Send + 'a>>; }

Store extension trait.

Required methods

fn locks<'a>(
    &'a self,
    account_id: &'a T::AccountId,
    hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<Vec<BalanceLock<T::Balance>>, Error>> + Send + 'a>>
[src]

Retrieve the store element.

fn locks_iter<'a>(
    &'a self,
    hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LocksStore<'a, T>>, Error>> + Send + 'a>>
[src]

Iterate over the store element.

Loading content...

Implementors

impl<T: Runtime + Balances> LocksStoreExt<T> for Client<T>[src]

Loading content...