Trait evm_note::msg::AsyncQueryMsgFns
source · pub trait AsyncQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>{
// Provided methods
async fn active_channel_async(&self) -> Result<Option<String>, CwEnvError> { ... }
async fn pair_async(&self) -> Result<Option<Pair>, CwEnvError> { ... }
async fn remote_address_async(
&self,
local_address: impl Into<String>,
) -> Result<Option<String>, CwEnvError> { ... }
async fn block_max_gas_async(&self) -> Result<Uint64, CwEnvError> { ... }
async fn ack_infos_async(
&self,
limit: Option<u8>,
start_after: Option<u64>,
) -> Result<AckInfosResponse, 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 active_channel_async(&self) -> Result<Option<String>, CwEnvError>
async fn active_channel_async(&self) -> Result<Option<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::ActiveChannel variant
sourceasync fn pair_async(&self) -> Result<Option<Pair>, CwEnvError>
async fn pair_async(&self) -> Result<Option<Pair>, CwEnvError>
Automatically generated wrapper around QueryMsg::Pair variant
sourceasync fn remote_address_async(
&self,
local_address: impl Into<String>,
) -> Result<Option<String>, CwEnvError>
async fn remote_address_async( &self, local_address: impl Into<String>, ) -> Result<Option<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::RemoteAddress variant
sourceasync fn block_max_gas_async(&self) -> Result<Uint64, CwEnvError>
async fn block_max_gas_async(&self) -> Result<Uint64, CwEnvError>
Automatically generated wrapper around QueryMsg::BlockMaxGas variant
sourceasync fn ack_infos_async(
&self,
limit: Option<u8>,
start_after: Option<u64>,
) -> Result<AckInfosResponse, CwEnvError>
async fn ack_infos_async( &self, limit: Option<u8>, start_after: Option<u64>, ) -> Result<AckInfosResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AckInfos variant
Object Safety§
This trait is not object safe.