pub trait AsyncQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>{
    // Provided methods
    async fn account_base_async(
        &self,
        account_id: AccountId,
    ) -> Result<AccountBaseResponse, CwEnvError> { ... }
    async fn modules_async(
        &self,
        infos: Vec<ModuleInfo>,
    ) -> Result<ModulesResponse, CwEnvError> { ... }
    async fn namespaces_async(
        &self,
        accounts: Vec<AccountId>,
    ) -> Result<NamespacesResponse, CwEnvError> { ... }
    async fn namespace_async(
        &self,
        namespace: Namespace,
    ) -> Result<NamespaceResponse, CwEnvError> { ... }
    async fn config_async(&self) -> Result<ConfigResponse, CwEnvError> { ... }
    async fn module_list_async(
        &self,
        filter: Option<ModuleFilter>,
        limit: Option<u8>,
        start_after: Option<ModuleInfo>,
    ) -> Result<ModulesListResponse, CwEnvError> { ... }
    async fn namespace_list_async(
        &self,
        limit: Option<u8>,
        start_after: Option<String>,
    ) -> Result<NamespaceListResponse, CwEnvError> { ... }
    async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError> { ... }
}Expand description
Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
Provided Methods§
sourceasync fn account_base_async(
    &self,
    account_id: AccountId,
) -> Result<AccountBaseResponse, CwEnvError>
 
async fn account_base_async( &self, account_id: AccountId, ) -> Result<AccountBaseResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AccountBase variant
sourceasync fn modules_async(
    &self,
    infos: Vec<ModuleInfo>,
) -> Result<ModulesResponse, CwEnvError>
 
async fn modules_async( &self, infos: Vec<ModuleInfo>, ) -> Result<ModulesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Modules variant
sourceasync fn namespaces_async(
    &self,
    accounts: Vec<AccountId>,
) -> Result<NamespacesResponse, CwEnvError>
 
async fn namespaces_async( &self, accounts: Vec<AccountId>, ) -> Result<NamespacesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespaces variant
sourceasync fn namespace_async(
    &self,
    namespace: Namespace,
) -> Result<NamespaceResponse, CwEnvError>
 
async fn namespace_async( &self, namespace: Namespace, ) -> Result<NamespaceResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespace variant
sourceasync fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
 
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
sourceasync fn module_list_async(
    &self,
    filter: Option<ModuleFilter>,
    limit: Option<u8>,
    start_after: Option<ModuleInfo>,
) -> Result<ModulesListResponse, CwEnvError>
 
async fn module_list_async( &self, filter: Option<ModuleFilter>, limit: Option<u8>, start_after: Option<ModuleInfo>, ) -> Result<ModulesListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleList variant
sourceasync fn namespace_list_async(
    &self,
    limit: Option<u8>,
    start_after: Option<String>,
) -> Result<NamespaceListResponse, CwEnvError>
 
async fn namespace_list_async( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<NamespaceListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::NamespaceList variant
sourceasync fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
 
async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Object Safety§
This trait is not object safe.