pub trait Interpreter<H> {
type State;
type Trap;
// Required methods
fn deconstruct(self) -> (Self::State, Vec<u8>);
fn run(&mut self, handle: &mut H) -> Capture<ExitResult, Self::Trap>;
}
pub trait Interpreter<H> {
type State;
type Trap;
// Required methods
fn deconstruct(self) -> (Self::State, Vec<u8>);
fn run(&mut self, handle: &mut H) -> Capture<ExitResult, Self::Trap>;
}