Searched refs:LifecycleCommand (Results 1 – 1 of 1) sorted by relevance
61 enum LifecycleCommand { enum68 lifecycle_tx: Sender<LifecycleCommand>,121 let (tx, mut rx) = channel::<LifecycleCommand>(1); in create()127 LifecycleCommand::Start { req, done } => { in create()134 LifecycleCommand::Stop { done } => { in create()150 self.lifecycle_tx.send(LifecycleCommand::Start { req, done: tx }).await?; in start()157 self.lifecycle_tx.send(LifecycleCommand::Stop { done: tx }).await?; in stop()