multiversx_sc::types

Trait TxPromisesCallback

Source
pub trait TxPromisesCallback<Api>: TxResultHandler<TxScEnv<Api>>
where Api: CallTypeApi,
{ // Required methods fn callback_name(&self) -> &'static str; fn overwrite_with_serialized_args( &self, cb_closure_args_serialized: &mut ManagedBuffer<Api>, ); fn gas_for_callback(&self) -> u64; }

Required Methods§

Source

fn callback_name(&self) -> &'static str

Source

fn overwrite_with_serialized_args( &self, cb_closure_args_serialized: &mut ManagedBuffer<Api>, )

Source

fn gas_for_callback(&self) -> u64

Implementations on Foreign Types§

Source§

impl<Api> TxPromisesCallback<Api> for ()
where Api: CallTypeApi,

Source§

fn callback_name(&self) -> &'static str

Source§

fn overwrite_with_serialized_args( &self, cb_closure_args_serialized: &mut ManagedBuffer<Api>, )

Source§

fn gas_for_callback(&self) -> u64

Implementors§

Source§

impl<Api> TxPromisesCallback<Api> for CallbackClosure<Api>
where Api: CallTypeApi,

Source§

impl<Api, O> TxPromisesCallback<Api> for OriginalResultMarker<O>
where Api: CallTypeApi,