pub fn current_cgroup_v2_path() -> Option<String>Expand description
Returns the current process’s cgroup-v2 path, if any.
On Linux reads /proc/self/cgroup and delegates to parse_cgroup_v2_line.
On non-Linux always returns None. Returns None on any read error or
when the process is at the cgroup-v2 root (bare-metal case).