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

Function as_extension

crates/openshell-driver-vm/src/lifecycle.rs:969–974  ·  view source on GitHub ↗
(extension: &Arc<T>)

Source from the content-addressed store, hash-verified

967 }
968
969 fn as_extension<T>(extension: &Arc<T>) -> Arc<dyn LifecycleExtension>
970 where
971 T: LifecycleExtension + 'static,
972 {
973 extension.clone()
974 }
975
976 #[tokio::test]
977 async fn configure_launch_runs_each_extension_in_order() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected