Trait tetcore_subxt::balances::LocksStoreExt [−][src]
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]
&'a self,
account_id: &'a T::AccountId,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<Vec<BalanceLock<T::Balance>>, Error>> + Send + 'a>>
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]
&'a self,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LocksStore<'a, T>>, Error>> + Send + 'a>>
Iterate over the store element.
Implementors
impl<T: Runtime + Balances> LocksStoreExt<T> for Client<T>
[src]
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]
&'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>>
[src]
&'a self,
hash: Option<T::Hash>
) -> Pin<Box<dyn Future<Output = Result<KeyIter<T, LocksStore<'a, T>>, Error>> + Send + 'a>>