pub trait AirRunner {
    // Required methods
    fn new(current_call_id: impl Into<String>) -> Self;
    fn call(
        &mut self,
        air: impl Into<String>,
        prev_data: impl Into<Vec<u8>>,
        data: impl Into<Vec<u8>>,
        init_peer_id: impl Into<String>,
        timestamp: u64,
        ttl: u32,
        override_current_peer_id: Option<String>,
        call_results: CallResults
    ) -> Result<RawAVMOutcome, Box<dyn Error>>;
}

Required Methods§

source

fn new(current_call_id: impl Into<String>) -> Self

source

fn call( &mut self, air: impl Into<String>, prev_data: impl Into<Vec<u8>>, data: impl Into<Vec<u8>>, init_peer_id: impl Into<String>, timestamp: u64, ttl: u32, override_current_peer_id: Option<String>, call_results: CallResults ) -> Result<RawAVMOutcome, Box<dyn Error>>

Implementors§