Trait cosm_utils::modules::auth::api::Auth

source ·
pub trait Auth: ClientAbciQuery + Sized {
    // Provided methods
    fn auth_query_account<'life0, 'async_trait>(
        &'life0 self,
        address: Address
    ) -> Pin<Box<dyn Future<Output = Result<AccountResponse, AccountError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn auth_query_accounts<'life0, 'async_trait>(
        &'life0 self,
        pagination: Option<PaginationRequest>
    ) -> Pin<Box<dyn Future<Output = Result<AccountsResponse, AccountError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn auth_query_params<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<ParamsResponse, AccountError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}

Provided Methods§

source

fn auth_query_account<'life0, 'async_trait>( &'life0 self, address: Address ) -> Pin<Box<dyn Future<Output = Result<AccountResponse, AccountError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn auth_query_accounts<'life0, 'async_trait>( &'life0 self, pagination: Option<PaginationRequest> ) -> Pin<Box<dyn Future<Output = Result<AccountsResponse, AccountError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn auth_query_params<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<ParamsResponse, AccountError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<T> Auth for Twhere T: ClientAbciQuery,