multiversx_sc_modules::ongoing_operation

Trait EndpointWrappers

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

Provided Methods§

Source

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

Source

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

Source

fn callback(&mut 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§