Trait abstract_polytone_note::msg::QueryMsgFns
source · pub trait QueryMsgFns<Chain: CwEnv>: CwOrchQuery<Chain, QueryMsg = QueryMsg> {
// Provided methods
fn active_channel(&self) -> Result<Option<String>, CwOrchError> { ... }
fn pair(&self) -> Result<Option<Pair>, CwOrchError> { ... }
fn remote_address(
&self,
local_address: String
) -> Result<Option<String>, CwOrchError> { ... }
fn block_max_gas(&self) -> Result<Uint64, CwOrchError> { ... }
}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§
sourcefn active_channel(&self) -> Result<Option<String>, CwOrchError>
fn active_channel(&self) -> Result<Option<String>, CwOrchError>
Automatically generated wrapper around QueryMsg::ActiveChannel variant
sourcefn pair(&self) -> Result<Option<Pair>, CwOrchError>
fn pair(&self) -> Result<Option<Pair>, CwOrchError>
Automatically generated wrapper around QueryMsg::Pair variant
sourcefn remote_address(
&self,
local_address: String
) -> Result<Option<String>, CwOrchError>
fn remote_address( &self, local_address: String ) -> Result<Option<String>, CwOrchError>
Automatically generated wrapper around QueryMsg::RemoteAddress variant
sourcefn block_max_gas(&self) -> Result<Uint64, CwOrchError>
fn block_max_gas(&self) -> Result<Uint64, CwOrchError>
Automatically generated wrapper around QueryMsg::BlockMaxGas variant
Object Safety§
This trait is not object safe.