[][src]Trait kubos_app::AppHandler

pub trait AppHandler {
    fn on_boot(&self, args: Vec<String>) -> Result<(), Error>;
fn on_command(&self, args: Vec<String>) -> Result<(), Error>; }

Common trait which is used to ensure handlers for all required run levels are defined

Required Methods

Called when the application is started at system boot time

Called when the application is started on-demand through the start_app GraphQL mutation

Implementors