Trait abstract_std::manager::AsyncQueryMsgFns
source · pub trait AsyncQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>{
// Provided methods
async fn module_versions_async(
&self,
ids: Vec<String>,
) -> Result<ModuleVersionsResponse, CwEnvError> { ... }
async fn module_addresses_async(
&self,
ids: Vec<String>,
) -> Result<ModuleAddressesResponse, CwEnvError> { ... }
async fn module_infos_async(
&self,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<ModuleInfosResponse, CwEnvError> { ... }
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError> { ... }
async fn info_async(&self) -> Result<InfoResponse, CwEnvError> { ... }
async fn sub_account_ids_async(
&self,
limit: Option<u8>,
start_after: Option<u32>,
) -> Result<SubAccountIdsResponse, CwEnvError> { ... }
async fn top_level_owner_async(
&self,
) -> Result<TopLevelOwnerResponse, 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 module_versions_async(
&self,
ids: Vec<String>,
) -> Result<ModuleVersionsResponse, CwEnvError>
async fn module_versions_async( &self, ids: Vec<String>, ) -> Result<ModuleVersionsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleVersions variant
sourceasync fn module_addresses_async(
&self,
ids: Vec<String>,
) -> Result<ModuleAddressesResponse, CwEnvError>
async fn module_addresses_async( &self, ids: Vec<String>, ) -> Result<ModuleAddressesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleAddresses variant
sourceasync fn module_infos_async(
&self,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<ModuleInfosResponse, CwEnvError>
async fn module_infos_async( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<ModuleInfosResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleInfos 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 info_async(&self) -> Result<InfoResponse, CwEnvError>
async fn info_async(&self) -> Result<InfoResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Info variant
sourceasync fn sub_account_ids_async(
&self,
limit: Option<u8>,
start_after: Option<u32>,
) -> Result<SubAccountIdsResponse, CwEnvError>
async fn sub_account_ids_async( &self, limit: Option<u8>, start_after: Option<u32>, ) -> Result<SubAccountIdsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::SubAccountIds variant
sourceasync fn top_level_owner_async(
&self,
) -> Result<TopLevelOwnerResponse, CwEnvError>
async fn top_level_owner_async( &self, ) -> Result<TopLevelOwnerResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::TopLevelOwner 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.