Enum nri::comms::CmdFrom [-] [+] [src]

pub enum CmdFrom {
    Start(String, Sender<bool>),
    Stop(String, Sender<bool>),
    Quit,
}

Commands sent from services up to the supervisor thread

Variants

Start

Start another service

Stop

Stop another service

Quit

Shut down everything

Trait Implementations

Derived Implementations

impl Clone for CmdFrom

fn clone(&self) -> CmdFrom

fn clone_from(&mut self, source: &Self)