pub trait ExecuteMsgFns<Chain: TxHandler, CwOrchExecuteMsgType>: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>where
ExecuteMsg: Into<CwOrchExecuteMsgType>,{
// Provided methods
fn update_ownership(
&self,
arg0: Action,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn register_chain_proxy(
&self,
chain: TruncatedChainId,
proxy: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn remove_chain_proxy(
&self,
chain: TruncatedChainId,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn ibc_execute(
&self,
account_address: impl Into<String>,
account_id: AccountId,
action: HostAction,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn module_execute(
&self,
msg: Binary,
source_module: InstalledModuleIdentification,
target_module: ModuleInfo,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn fund(
&self,
src_account: AccountId,
src_chain: TruncatedChainId,
) -> Result<TxResponse<Chain>, 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 update_ownership(
&self,
arg0: Action,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Sourcefn register_chain_proxy(
&self,
chain: TruncatedChainId,
proxy: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn register_chain_proxy( &self, chain: TruncatedChainId, proxy: impl Into<String>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RegisterChainProxy variant
Sourcefn remove_chain_proxy(
&self,
chain: TruncatedChainId,
) -> Result<TxResponse<Chain>, CwEnvError>
fn remove_chain_proxy( &self, chain: TruncatedChainId, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveChainProxy variant
Sourcefn ibc_execute(
&self,
account_address: impl Into<String>,
account_id: AccountId,
action: HostAction,
) -> Result<TxResponse<Chain>, CwEnvError>
fn ibc_execute( &self, account_address: impl Into<String>, account_id: AccountId, action: HostAction, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Execute variant
Sourcefn module_execute(
&self,
msg: Binary,
source_module: InstalledModuleIdentification,
target_module: ModuleInfo,
) -> Result<TxResponse<Chain>, CwEnvError>
fn module_execute( &self, msg: Binary, source_module: InstalledModuleIdentification, target_module: ModuleInfo, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ModuleExecute variant
Sourcefn fund(
&self,
src_account: AccountId,
src_chain: TruncatedChainId,
) -> Result<TxResponse<Chain>, CwEnvError>
fn fund( &self, src_account: AccountId, src_chain: TruncatedChainId, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Fund 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.