ic_solidity_bindgen

Trait CallProvider

Source
pub trait CallProvider {
    // Required method
    fn call<'life0, 'async_trait, Out, Params>(
        &'life0 self,
        name: &'static str,
        params: Params,
    ) -> Pin<Box<dyn Future<Output = Result<Out, Error>> + Send + 'async_trait>>
       where Out: 'async_trait + Detokenize + Unpin + Send,
             Params: 'async_trait + Tokenize + Send,
             Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn call<'life0, 'async_trait, Out, Params>( &'life0 self, name: &'static str, params: Params, ) -> Pin<Box<dyn Future<Output = Result<Out, Error>> + Send + 'async_trait>>
where Out: 'async_trait + Detokenize + Unpin + Send, Params: 'async_trait + Tokenize + Send, Self: 'async_trait, 'life0: 'async_trait,

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§