Struct sota::interpreter::EventInterpreter [] [src]

pub struct EventInterpreter {
    pub pacman: PackageManager,
    pub auto_download: bool,
    pub sysinfo: Option<String>,
}

The EventInterpreter listens for Events and optionally responds with Commands that may be sent to the CommandInterpreter.

Fields

pacman
auto_download
sysinfo

Trait Implementations

impl Interpreter<Event, Command> for EventInterpreter
[src]

fn interpret(&mut self, event: Event, ctx: &Sender<Command>)

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