pub trait AsyncQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>{
// Provided method
async fn get_count_async(&self) -> Result<GetCountResponse, 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 get_count_async(&self) -> Result<GetCountResponse, CwEnvError>
async fn get_count_async(&self) -> Result<GetCountResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::GetCount 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.