multiversx_sc_snippets

Trait InteractorPrepareAsync

Source
pub trait InteractorPrepareAsync {
    type Exec;

    // Required method
    fn prepare_async(self) -> Self::Exec;
}

Required Associated Types§

Required Methods§

Source

fn prepare_async(self) -> Self::Exec

👎Deprecated since 0.54.0: Calling .prepare_async() no longer necessary, .run() can be called directly.

Implementors§

Source§

impl<'w, GatewayProxy, From, Payment, Gas, CodeValue, RH> InteractorPrepareAsync 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§

type Exec = InteractorExecStep<'w, GatewayProxy, ScDeployStep, RH>

Source§

impl<'w, GatewayProxy, From, To, Gas, CodeValue, RH> InteractorPrepareAsync 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§

type Exec = InteractorExecStep<'w, GatewayProxy, ScCallStep, RH>

Source§

impl<'w, GatewayProxy, From, To, Payment, Gas> InteractorPrepareAsync 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§

type Exec = InteractorExecStep<'w, GatewayProxy, TransferStep, ()>

Source§

impl<'w, GatewayProxy, From, To, Payment, Gas, RH> InteractorPrepareAsync 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§

type Exec = InteractorExecStep<'w, GatewayProxy, ScCallStep, RH>

Source§

impl<'w, GatewayProxy, To, Payment, RH> InteractorPrepareAsync 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,

Source§

type Exec = InteractorQueryStep<'w, GatewayProxy, RH>