Extensions active for `sandbox`, preserving registration order. [`ExtensionActivation::Global`] extensions are always included; [`ExtensionActivation::OnRequest`] extensions are included only when the sandbox carries the matching request label.
(&'a self, sandbox: &Sandbox)
| 541 | /// [`ExtensionActivation::OnRequest`] extensions are included only when |
| 542 | /// the sandbox carries the matching request label. |
| 543 | fn active_for<'a>(&'a self, sandbox: &Sandbox) -> Vec<&'a Arc<dyn LifecycleExtension>> { |
| 544 | self.extensions |
| 545 | .iter() |
| 546 | .filter(|ext| match ext.activation() { |
| 547 | ExtensionActivation::Global => true, |
| 548 | ExtensionActivation::OnRequest { key } => sandbox_requested_extension(sandbox, key), |
| 549 | }) |
| 550 | .collect() |
| 551 | } |
| 552 | |
| 553 | pub async fn configure_launch( |
| 554 | &self, |
no test coverage detected