[][src]Trait wascap_guest::HostRuntimeInterface

pub trait HostRuntimeInterface {
    fn do_host_call(&self, cmd: &Command) -> Result<Event>;
}

A trait for a host runtime interface. This abstracts the method of invoking host calls so that the host interface can be mocked for testing

Required methods

fn do_host_call(&self, cmd: &Command) -> Result<Event>

Loading content...

Implementors

impl HostRuntimeInterface for WascapHostRuntimeInterface[src]

Loading content...