Declare when this extension participates in a sandbox's lifecycle. Defaults to [`ExtensionActivation::Global`] (runs for every sandbox). Override and return [`ExtensionActivation::OnRequest`] for an opt-in extension that should only run when the sandbox carries the matching request label.
(&self)
| 315 | /// extension that should only run when the sandbox carries the matching |
| 316 | /// request label. |
| 317 | fn activation(&self) -> ExtensionActivation { |
| 318 | ExtensionActivation::Global |
| 319 | } |
| 320 | |
| 321 | fn descriptor(&self) -> ExtensionDescriptor { |
| 322 | ExtensionDescriptor::new(self.name()) |
nothing calls this directly
no outgoing calls
no test coverage detected