darwin_libproc

Trait RusageFlavor

Source
pub trait RusageFlavor: Sealed { }
Expand description

proc_pid_rusage can return different versioned rusage_info_v* structs.

This sealed trait implemented for all possible variants and used by pid_rusage

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§