(self)
| 114 | impl 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 |
no outgoing calls