multiversx_sc_modules::users

Trait EndpointWrappers

Source
pub trait EndpointWrappers: ContractBase + UsersModule {
    // Provided methods
    fn call_get_user_id(&mut self) { ... }
    fn call_get_user_address(&mut self) { ... }
    fn call_get_num_users(&mut self) { ... }
    fn call_update_user_address(&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_get_user_id(&mut self)

Source

fn call_get_user_address(&mut self)

Source

fn call_get_num_users(&mut self)

Source

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