multiversx_sc_modules::pause

Trait ProxyTrait

Source
pub trait ProxyTrait: ProxyObjBase + Sized {
    // Provided methods
    fn pause_endpoint(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn unpause_endpoint(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn paused_status(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, bool>>> { ... }
}

Provided Methods§

Source

fn pause_endpoint( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>

Source

fn unpause_endpoint( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>

Source

fn paused_status( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, bool>>>

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§