Trait abstract_std::manager::AsyncQueryMsgFns

source ·
pub trait AsyncQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>
where QueryMsg: Into<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§

source

async fn module_versions_async( &self, ids: Vec<String>, ) -> Result<ModuleVersionsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleVersions variant

source

async fn module_addresses_async( &self, ids: Vec<String>, ) -> Result<ModuleAddressesResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleAddresses variant

source

async fn module_infos_async( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<ModuleInfosResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ModuleInfos variant

source

async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Config variant

source

async fn info_async(&self) -> Result<InfoResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Info variant

source

async fn sub_account_ids_async( &self, limit: Option<u8>, start_after: Option<u32>, ) -> Result<SubAccountIdsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::SubAccountIds variant

source

async fn top_level_owner_async( &self, ) -> Result<TopLevelOwnerResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::TopLevelOwner variant

source

async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>

Automatically generated wrapper around QueryMsg::Ownership variant

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContract
where QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,