Trait CCIPReadHandler

Source
pub trait CCIPReadHandler {
    // Required method
    fn call<'life0, 'async_trait>(
        &'life0 self,
        args: Vec<Token>,
        req: RPCCall,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Token>, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn call<'life0, 'async_trait>( &'life0 self, args: Vec<Token>, req: RPCCall, ) -> Pin<Box<dyn Future<Output = Result<Vec<Token>, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Closure called by the server.

§Arguments
  • args the parsed ABI input parameters
  • req the RPC call data

Implementors§