pub fn as_str(&self) -> &str {
        match self {
            Virtualization::Kvm => "kvm",
            Virtualization::Qemu => "qemu",
            Virtualization::Bochs => "bochs",
            Virtualization::Xen => "xen",
            Virtualization::Uml => "uml",
            Virtualization::Vmware => "vmware",
            Virtualization::Oracle => "oracle",
            Virtualization::HyperV => "hyperv",
            Virtualization::Bhyve => "bhyve",
            Virtualization::Qnx => "qnx",
            Virtualization::Acrn => "acrn",
            Virtualization::SystemdNspawn => "systemd-nspawn",
            Virtualization::LxcLibvirt => "lxc-libvirt",
            Virtualization::Lxc => "lxc",
            Virtualization::OpenVz => "openvz",
            Virtualization::Docker => "docker",
            Virtualization::Podman => "podman",
            Virtualization::Rkt => "rkt",
            Virtualization::Wsl => "wsl",
            Virtualization::Unknown => "unknown",
            _ => unreachable!(),
        }
    }
/// Returns string identifying this virtualization system.
Returns string identifying this virtualization system.
Returns string identifying this virtualization system .
pub fn as_str(&self) -> &str {
        match self {
            Virtualization::Kvm => "kvm",
            Virtualization::Qemu => "qemu",
            Virtualization::Bochs => "bochs",
            Virtualization::Xen => "xen",
            Virtualization::Uml => "uml",
            Virtualization::Vmware => "vmware",
            Virtualization::Oracle => "oracle",
            Virtualization::HyperV => "hyperv",
            Virtualization::Bhyve => "bhyve",
            Virtualization::Qnx => "qnx",
            Virtualization::Acrn => "acrn",
            Virtualization::SystemdNspawn => "systemd-nspawn",
            Virtualization::LxcLibvirt => "lxc-libvirt",
            Virtualization::Lxc => "lxc",
            Virtualization::OpenVz => "openvz",
            Virtualization::Docker => "docker",
            Virtualization::Podman => "podman",
            Virtualization::Rkt => "rkt",
            Virtualization::Wsl => "wsl",
            Virtualization::Unknown => "unknown",
            _ => unreachable!(),
        }
    }
pub fn as_str ( & self ) -> & str { match self { Virtualization :: Kvm => " " , Virtualization :: Qemu => " " , Virtualization :: Bochs => " " , Virtualization :: Xen => " " , Virtualization :: Uml => " " , Virtualization :: Vmware => " " , Virtualization :: Oracle => " " , Virtualization :: HyperV => " " , Virtualization :: Bhyve => " " , Virtualization :: Qnx => " " , Virtualization :: Acrn => " " , Virtualization :: SystemdNspawn => " " , Virtualization :: LxcLibvirt => " " , Virtualization :: Lxc => " " , Virtualization :: OpenVz => " " , Virtualization :: Docker => " " , Virtualization :: Podman => " " , Virtualization :: Rkt => " " , Virtualization :: Wsl => " " , Virtualization :: Unknown => " " , _ => unreachable ! ( ) , } }
Returns string identifying this virtualization system.
Returns string identifying this virtualization system .
&self
&self