Struct sota::interpreter::CommandInterpreter [] [src]

pub struct CommandInterpreter;

The CommandInterpreter wraps each incoming Command inside an Interpret type with no response channel for sending to the GlobalInterpreter.

Trait Implementations

impl Interpreter<Command, Interpret> for CommandInterpreter
[src]

fn interpret(&mut self, cmd: Command, itx: &Sender<Interpret>)

fn run(&mut self, irx: Receiver<I>, otx: Sender<O>, wg: WaitGroup)