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

Method as_str

crates/openshell-driver-vm/src/lifecycle.rs:116–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114impl BackendFeature {
115 #[must_use]
116 pub fn as_str(self) -> &'static str {
117 match self {
118 Self::ExternalKernelImage => "external-kernel-image",
119 Self::GuestInitDropins => "guest-init-dropins",
120 Self::PciPassthrough => "pci-passthrough",
121 Self::TapNetworking => "tap-networking",
122 }
123 }
124
125 /// Returns true when satisfying this feature requires the QEMU backend
126 /// today. This is the simplest possible resolver and is expected to be

Calls

no outgoing calls