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§

Source

fn get_received_ibc_callback_status( &self, ) -> Result<ReceivedIbcCallbackStatus, CwOrchError>

Automatically generated wrapper around MockQueryMsg::GetReceivedIbcCallbackStatus variant

Source

fn get_received_ibc_query_callback_status( &self, ) -> Result<ReceivedIbcQueryCallbackStatus, CwOrchError>

Automatically generated wrapper around MockQueryMsg::GetReceivedIbcQueryCallbackStatus variant

Source

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.

Implementors§

Source§

impl<SupportedContract, Chain: QueryHandler + ChainState> MockQueryMsgFns<Chain> for SupportedContract
where SupportedContract: CwOrchQuery<Chain, QueryMsg = QueryMsg>,