multiversx_sc_modules::default_issue_callbacks

Trait CallbackProxy

Source
pub trait CallbackProxy: CallbackProxyObjBase + Sized {
    // Provided methods
    fn default_issue_cb(
        self,
        initial_caller: ManagedAddress<Self::Api>,
        storage_key: ManagedBuffer<Self::Api>,
    ) -> CallbackClosure<Self::Api> { ... }
    fn default_issue_init_supply_cb(
        self,
        initial_caller: ManagedAddress<Self::Api>,
        storage_key: ManagedBuffer<Self::Api>,
    ) -> CallbackClosure<Self::Api> { ... }
}

Provided Methods§

Source

fn default_issue_cb( self, initial_caller: ManagedAddress<Self::Api>, storage_key: ManagedBuffer<Self::Api>, ) -> CallbackClosure<Self::Api>

Source

fn default_issue_init_supply_cb( self, initial_caller: ManagedAddress<Self::Api>, storage_key: ManagedBuffer<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,