MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / activation

Method activation

crates/openshell-driver-vm/src/lifecycle.rs:317–319  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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())

Callers

nothing calls this directly

Implementers 2

driver.rscrates/openshell-driver-vm/src/driver.
lifecycle.rscrates/openshell-driver-vm/src/lifecyc

Calls

no outgoing calls

Tested by

no test coverage detected