pub enum SystemdDetectVirtContainer {
OpenVc,
Lxc,
LxcLibvirt,
SystemdNspawn,
Docker,
Podman,
Rkt,
Wsl,
Proot,
Pouch,
}
Expand description
A container environment detected by systemd-detect-virt.
Variants§
OpenVc
OpenVZ/Virtuozzo.
Lxc
Linux container implementation by LXC.
LxcLibvirt
Linux container implementation by libvirt.
SystemdNspawn
Systemd’s minimal container implementation (systemd-nspawn).
Docker
Docker container manager.
Podman
Podman container manager.
Rkt
Rkt app container runtime.
Wsl
Windows Subsystem for Linux.
Proot
proot userspace chroot/bind mount emulation
Pouch
Pouch container engine.
Trait Implementations§
Source§impl Clone for SystemdDetectVirtContainer
impl Clone for SystemdDetectVirtContainer
Source§fn clone(&self) -> SystemdDetectVirtContainer
fn clone(&self) -> SystemdDetectVirtContainer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SystemdDetectVirtContainer
impl Debug for SystemdDetectVirtContainer
Source§impl Display for SystemdDetectVirtContainer
impl Display for SystemdDetectVirtContainer
Source§impl FromStr for SystemdDetectVirtContainer
impl FromStr for SystemdDetectVirtContainer
Source§impl TryFrom<&str> for SystemdDetectVirtContainer
impl TryFrom<&str> for SystemdDetectVirtContainer
impl Copy for SystemdDetectVirtContainer
impl Eq for SystemdDetectVirtContainer
impl StructuralPartialEq for SystemdDetectVirtContainer
Auto Trait Implementations§
impl Freeze for SystemdDetectVirtContainer
impl RefUnwindSafe for SystemdDetectVirtContainer
impl Send for SystemdDetectVirtContainer
impl Sync for SystemdDetectVirtContainer
impl Unpin for SystemdDetectVirtContainer
impl UnwindSafe for SystemdDetectVirtContainer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more