Trait backstage::actor::LauncherSender [−][src]
pub trait LauncherSender<B: ThroughType + Builder>: Send + Clone + 'static + AknShutdown<<B as Builder>::State> { type Through; type AppsEvents: Appsthrough<B>; fn start_app(&mut self, app_name: &str); fn shutdown_app(&mut self, app_name: &str); fn request_service(&mut self); fn status_change(&mut self, service: Service); fn passthrough(&mut self, event: Self::AppsEvents, from_app_name: String); fn exit_program(&mut self, using_ctrl_c: bool); }
Associated Types
type Through
[src]
type AppsEvents: Appsthrough<B>
[src]
Required methods
fn start_app(&mut self, app_name: &str)
[src]
fn shutdown_app(&mut self, app_name: &str)
[src]
fn request_service(&mut self)
[src]
fn status_change(&mut self, service: Service)
[src]
Keep the launcher up to date with service status changes, NOTE: don’t use it to send ServiceStatus::Stopped as it will be set automatically when app aknowledge_shutdown