multiversx_sc::types

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::Api>),

Source§

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

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 ReturnsNewAddress
where Env: TxEnv,

Source§

impl<Env, Original> RHListItem<Env, Original> for ReturnsNewManagedAddress
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::Unmanaged: TopDecodeMulti,

Source§

type Returns = <Original as TypeAbi>::Unmanaged

Source§

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

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),