Trait evm_note::msg::AsyncQueryMsgFns

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

source

async fn active_channel_async(&self) -> Result<Option<String>, CwEnvError>

Automatically generated wrapper around QueryMsg::ActiveChannel variant

source

async fn pair_async(&self) -> Result<Option<Pair>, CwEnvError>

Automatically generated wrapper around QueryMsg::Pair variant

source

async fn remote_address_async( &self, local_address: impl Into<String>, ) -> Result<Option<String>, CwEnvError>

Automatically generated wrapper around QueryMsg::RemoteAddress variant

source

async fn block_max_gas_async(&self) -> Result<Uint64, CwEnvError>

Automatically generated wrapper around QueryMsg::BlockMaxGas variant

source

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.

Implementors§

source§

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