pub trait AsyncQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>{
// Provided methods
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError> { ... }
async fn simulate_install_modules_async(
&self,
modules: Vec<ModuleInfo>,
) -> Result<SimulateInstallModulesResponse, 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 config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Sourceasync fn simulate_install_modules_async(
&self,
modules: Vec<ModuleInfo>,
) -> Result<SimulateInstallModulesResponse, CwEnvError>
async fn simulate_install_modules_async( &self, modules: Vec<ModuleInfo>, ) -> Result<SimulateInstallModulesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::SimulateInstallModules 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
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.