multiversx_sc_snippets

Trait InteractorRunAsync

Source
pub trait InteractorRunAsync {
    type Result;

    // Required method
    fn run(self) -> impl Future<Output = Self::Result>;
}

Required Associated Types§

Required Methods§

Source

fn run(self) -> impl Future<Output = Self::Result>

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<'w, GatewayProxy, From, Payment, Gas, CodeValue, RH> InteractorRunAsync for Tx<InteractorEnvExec<'w, GatewayProxy>, From, (), Payment, Gas, DeployCall<InteractorEnvExec<'w, GatewayProxy>, Code<CodeValue>>, RH>
where GatewayProxy: GatewayAsyncService, From: TxFromSpecified<InteractorEnvExec<'w, GatewayProxy>>, Payment: TxPayment<InteractorEnvExec<'w, GatewayProxy>>, Gas: TxGas<InteractorEnvExec<'w, GatewayProxy>>, CodeValue: TxCodeValue<InteractorEnvExec<'w, GatewayProxy>>, RH: RHListExec<TxResponse, InteractorEnvExec<'w, GatewayProxy>>, RH::ListReturns: NestedTupleFlatten,

Source§

impl<'w, GatewayProxy, From, To, Gas, CodeValue, RH> InteractorRunAsync for Tx<InteractorEnvExec<'w, GatewayProxy>, From, To, NotPayable, Gas, UpgradeCall<InteractorEnvExec<'w, GatewayProxy>, Code<CodeValue>>, RH>
where GatewayProxy: GatewayAsyncService, From: TxFromSpecified<InteractorEnvExec<'w, GatewayProxy>>, To: TxToSpecified<InteractorEnvExec<'w, GatewayProxy>>, Gas: TxGas<InteractorEnvExec<'w, GatewayProxy>>, CodeValue: TxCodeValue<InteractorEnvExec<'w, GatewayProxy>>, RH: RHListExec<TxResponse, InteractorEnvExec<'w, GatewayProxy>>, RH::ListReturns: NestedTupleFlatten,

Source§

impl<'w, GatewayProxy, From, To, Payment, Gas> InteractorRunAsync for Tx<InteractorEnvExec<'w, GatewayProxy>, From, To, Payment, Gas, (), ()>
where GatewayProxy: GatewayAsyncService, From: TxFromSpecified<InteractorEnvExec<'w, GatewayProxy>>, To: TxToSpecified<InteractorEnvExec<'w, GatewayProxy>>, Payment: TxPayment<InteractorEnvExec<'w, GatewayProxy>>, Gas: TxGas<InteractorEnvExec<'w, GatewayProxy>>,

Source§

impl<'w, GatewayProxy, From, To, Payment, Gas, RH> InteractorRunAsync for Tx<InteractorEnvExec<'w, GatewayProxy>, From, To, Payment, Gas, FunctionCall<StaticApi>, RH>
where GatewayProxy: GatewayAsyncService, From: TxFromSpecified<InteractorEnvExec<'w, GatewayProxy>>, To: TxToSpecified<InteractorEnvExec<'w, GatewayProxy>>, Payment: TxPayment<InteractorEnvExec<'w, GatewayProxy>>, Gas: TxGas<InteractorEnvExec<'w, GatewayProxy>>, RH: RHListExec<TxResponse, InteractorEnvExec<'w, GatewayProxy>>, RH::ListReturns: NestedTupleFlatten,

Source§

impl<'w, GatewayProxy, To, Payment, RH> InteractorRunAsync for Tx<InteractorEnvQuery<'w, GatewayProxy>, (), To, Payment, (), FunctionCall<StaticApi>, RH>
where GatewayProxy: GatewayAsyncService, To: TxToSpecified<InteractorEnvQuery<'w, GatewayProxy>>, Payment: TxNoPayment<InteractorEnvQuery<'w, GatewayProxy>>, RH: RHListExec<TxResponse, InteractorEnvQuery<'w, GatewayProxy>>, RH::ListReturns: NestedTupleFlatten,