[−][src]Trait heim_host::os::macos::UserExt
This is supported on macOS only.
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.
Required methods
pub fn pid(&self) -> Pid
[src]
Returns the Pid
of login process.
pub fn terminal(&self) -> &str
[src]
Returns the tty or pseudo-tty name associated with user.
pub fn id(&self) -> &str
[src]
Returns the terminal identifier.
pub fn hostname(&self) -> &str
[src]
Returns the hostname for remote login.