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,