Trait backstage::actor::Passthrough [−][src]
pub trait Passthrough<T>: Send { fn passthrough(&mut self, event: T, from_app_name: String); fn app_status_change(&mut self, service: &Service); fn launcher_status_change(&mut self, service: &Service); fn service(&mut self, service: &Service); }
Required methods
fn passthrough(&mut self, event: T, from_app_name: String)
[src]
Here we recv events passed to us from passthrough
fn app_status_change(&mut self, service: &Service)
[src]
Tells apps about status_change for a given app this method will be invoked when any application broadcast status change in its service
fn launcher_status_change(&mut self, service: &Service)
[src]
Tells apps about status_change in the launcher/main service, this method will be invoked when the launcher wants to broadcast status change
fn service(&mut self, service: &Service)
[src]
Provides the requested main service, this method will be invoked only when the application request_service()