pub trait AsyncBaseQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>where
BaseQueryMsg: Into<CwOrchQueryMsgType>,{
// Provided methods
async fn base_config_async(
&self,
) -> Result<AdapterConfigResponse, CwEnvError> { ... }
async fn authorized_addresses_async(
&self,
account_address: impl Into<String>,
) -> Result<AuthorizedAddressesResponse, CwEnvError> { ... }
async fn module_data_async(&self) -> Result<ModuleDataResponse, 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 base_config_async(&self) -> Result<AdapterConfigResponse, CwEnvError>
async fn base_config_async(&self) -> Result<AdapterConfigResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Automatically generated wrapper around BaseQueryMsg::AuthorizedAddresses variant
Sourceasync fn module_data_async(&self) -> Result<ModuleDataResponse, CwEnvError>
async fn module_data_async(&self) -> Result<ModuleDataResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::ModuleData variant
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.