multiversx_sc_snippets::imports

Trait RHListItem

Source
pub trait RHListItem<Env, Original>
where Env: TxEnv,
{ type Returns; }
Expand description

Result handler list item.

It acts as a result handler that produces a single result.

Required Associated Types§

Implementations on Foreign Types§

Source§

impl<Env, Original> RHListItem<Env, Original> for ()
where Env: TxEnv,

Implementors§

Source§

impl<Env, F, Original> RHListItem<Env, Original> for WithNewAddress<Env, F>
where Env: TxEnv, F: FnOnce(&ManagedAddress<<Env as TxEnv>::Api>),

Source§

impl<Env, F, Original> RHListItem<Env, Original> for WithRawResult<Env, F>
where Env: TxEnv, F: FnOnce(&ManagedVec<<Env as TxEnv>::Api, ManagedBuffer<<Env as TxEnv>::Api>>),

Source§

impl<Env, Original> RHListItem<Env, Original> for ExpectError<'_>
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ExpectMessage<'_>
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ExpectStatus
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsBackTransfers
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsBackTransfersEGLD
where Env: TxEnv,

Source§

type Returns = BigUint<<Env as TxEnv>::Api>

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsBackTransfersMultiESDT
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsBackTransfersSingleESDT
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsGasUsed
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsLogs
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsMessage
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsNewAddress
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsNewBech32Address
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsNewManagedAddress
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsNewTokenIdentifier
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsRawResult
where Env: TxEnv,

Source§

type Returns = ManagedVec<<Env as TxEnv>::Api, ManagedBuffer<<Env as TxEnv>::Api>>

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsResult
where Env: TxEnv,

Source§

type Returns = Original

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsResultUnmanaged
where Env: TxEnv, Original: TypeAbi, <Original as TypeAbi>::Unmanaged: TopDecodeMulti,

Source§

type Returns = <Original as TypeAbi>::Unmanaged

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsStatus
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsTxHash
where Env: TxEnv,

Source§

impl<Env, Original, F> RHListItem<Env, Original> for WithRawTxResponse<F>
where Env: TxEnv, F: FnOnce(&TxResponse),

Source§

impl<Env, Original, F> RHListItem<Env, Original> for WithResult<Original, F>
where Env: TxEnv, F: FnOnce(Original),

Source§

impl<Env, Original, NHList> RHListItem<Env, Original> for ReturnsHandledOrError<Env, Original, NHList>
where Env: TxEnv, NHList: RHListExec<TxResponse, Env>, <NHList as RHList<Env>>::ListReturns: NestedTupleFlatten,

Source§

impl<Env, Original, T> RHListItem<Env, Original> for ExpectValue<T>
where Env: TxEnv, T: TopEncodeMulti, Original: TypeAbiFrom<T>,

Source§

impl<Env, Original, T> RHListItem<Env, Original> for PassValue<T>
where Env: TxEnv,

Source§

impl<Env, Original, T> RHListItem<Env, Original> for ReturnsResultAs<T>
where Env: TxEnv, T: TopDecodeMulti + TypeAbiFrom<Original>,

Source§

impl<Env, Original, T, F> RHListItem<Env, Original> for WithResultAs<T, F>
where Env: TxEnv, T: TopDecodeMulti + TypeAbiFrom<Original>, F: FnOnce(T),