[−][src]Function heim_virt::detect
pub async fn detect() -> Option<Virtualization>
Attempts to guess if the running process is running in some Virtualization system.
Compatibility
At the moment this function works only for Linux (partially)
and always returns None
for macOS and Windows.