multiversx_sc_modules::pause

Trait EndpointWrappers

Source
pub trait EndpointWrappers: ContractBase + PauseModule {
    // Provided methods
    fn call_pause_endpoint(&mut self) { ... }
    fn call_unpause_endpoint(&mut self) { ... }
    fn call_paused_status(&mut self) { ... }
    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_pause_endpoint(&mut self)

Source

fn call_unpause_endpoint(&mut self)

Source

fn call_paused_status(&mut self)

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§

Source§

impl<A> EndpointWrappers for multiversx_sc_modules::token_merge::ContractObj<A>
where A: VMApi,

Source§

impl<A> EndpointWrappers for multiversx_sc_modules::pause::ContractObj<A>
where A: VMApi,