pub trait MockQueryMsgFns<Chain: QueryHandler + ChainState>: CwOrchQuery<Chain, QueryMsg = QueryMsg> {
// Provided methods
fn get_received_ibc_callback_status(
&self,
) -> Result<ReceivedIbcCallbackStatus, CwOrchError> { ... }
fn get_received_ibc_query_callback_status(
&self,
) -> Result<ReceivedIbcQueryCallbackStatus, CwOrchError> { ... }
fn get_received_ibc_module_status(
&self,
) -> Result<ReceivedIbcModuleStatus, 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 get_received_ibc_callback_status(
&self,
) -> Result<ReceivedIbcCallbackStatus, CwOrchError>
fn get_received_ibc_callback_status( &self, ) -> Result<ReceivedIbcCallbackStatus, CwOrchError>
Automatically generated wrapper around MockQueryMsg::GetReceivedIbcCallbackStatus variant
Sourcefn get_received_ibc_query_callback_status(
&self,
) -> Result<ReceivedIbcQueryCallbackStatus, CwOrchError>
fn get_received_ibc_query_callback_status( &self, ) -> Result<ReceivedIbcQueryCallbackStatus, CwOrchError>
Automatically generated wrapper around MockQueryMsg::GetReceivedIbcQueryCallbackStatus variant
Sourcefn get_received_ibc_module_status(
&self,
) -> Result<ReceivedIbcModuleStatus, CwOrchError>
fn get_received_ibc_module_status( &self, ) -> Result<ReceivedIbcModuleStatus, CwOrchError>
Automatically generated wrapper around MockQueryMsg::GetReceivedIbcModuleStatus 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.