pub trait QueryMsgFns<Chain: QueryHandler + ChainState, CwOrchQueryMsgType>: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>{
// Provided methods
fn config(&self) -> Result<ConfigResponse, CwEnvError> { ... }
fn ica_action(
&self,
account_address: impl Into<String>,
actions: Vec<IcaAction>,
chain: TruncatedChainId,
) -> Result<IcaActionResult, CwEnvError> { ... }
fn ownership(&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§
Sourcefn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Sourcefn ica_action(
&self,
account_address: impl Into<String>,
actions: Vec<IcaAction>,
chain: TruncatedChainId,
) -> Result<IcaActionResult, CwEnvError>
fn ica_action( &self, account_address: impl Into<String>, actions: Vec<IcaAction>, chain: TruncatedChainId, ) -> Result<IcaActionResult, CwEnvError>
Automatically generated wrapper around QueryMsg::IcaAction 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.