multiversx_sc_modules::dns

Trait EndpointWrappers

Source
pub trait EndpointWrappers: ContractBase + DnsModule {
    // Provided methods
    fn call_dns_register(&self) { ... }
    fn call(&self, fn_name: &str) -> bool { ... }
    fn callback_selector(
        &self,
        ___cb_closure___: CallbackClosureForDeser<Self::Api>,
    ) -> CallbackSelectorResult<Self::Api> { ... }
    fn callback(&self) { ... }
}

Provided Methods§

Source

fn call_dns_register(&self)

Source

fn call(&self, fn_name: &str) -> bool

Source

fn callback_selector( &self, ___cb_closure___: CallbackClosureForDeser<Self::Api>, ) -> CallbackSelectorResult<Self::Api>

Source

fn callback(&self)

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.

Implementations on Foreign Types§

Source§

impl<A> EndpointWrappers for UniversalContractObj<A>
where A: VMApi,

Implementors§