pub trait UserExt {
// Required methods
fn pid(&self) -> Pid;
fn terminal(&self) -> &str;
fn id(&self) -> &str;
fn hostname(&self) -> &str;
}
Expand description
macOS-specific extensions for User.
In macOS user information is provided by utmpx
(see man utmpx(5)
),
trait methods are representing fields of this struct.