multiversx_sc_modules::transfer_role_proxy

Trait CallbackProxy

Source
pub trait CallbackProxy: CallbackProxyObjBase + Sized {
    // Provided method
    fn transfer_callback(
        self,
        original_caller: ManagedAddress<Self::Api>,
        initial_payments: ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>,
    ) -> CallbackClosure<Self::Api> { ... }
}

Provided Methods§

Source

fn transfer_callback( self, original_caller: ManagedAddress<Self::Api>, initial_payments: ManagedVec<Self::Api, EsdtTokenPayment<Self::Api>>, ) -> CallbackClosure<Self::Api>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A> CallbackProxy for CallbackProxyObj<A>
where A: VMApi + 'static,