pub fn detect() -> impl Future<Output = Option<Virtualization>>
Expand description
Returns future which tries to determine if the running program 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.