Trait kubos_app::AppHandler [−][src]
pub trait AppHandler { fn on_boot(&self, args: Vec<String>); fn on_command(&self, args: Vec<String>); }
Common trait which is used to ensure handlers for all required run levels are defined
Required Methods
fn on_boot(&self, args: Vec<String>)
Called when the application is started at system boot time
fn on_command(&self, args: Vec<String>)
Called when the application is started on-demand through the start_app
GraphQL mutation