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

pub enum CmdTo {
    Start,
    Stop,
    Quit,
}

Commands sent from the supervisor thread to services

Variants

Start

Start the service

Stop

Stop the service (but keep the thread running)

Quit

Stop the service and kill the thread

Trait Implementations

Derived Implementations

impl Clone for CmdTo

fn clone(&self) -> CmdTo

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