[−][src]Trait heim::host::os::linux::UserExt
Linux-specific extensions for User.
In Linux user information is provided by utmpx
(see man utmpx(5)
),
trait methods are representing fields of this struct.
Required methods
fn pid(&self) -> i32
Returns the Pid
of login process.
fn terminal(&self) -> &str
Returns the tty or pseudo-tty name associated with user.
fn id(&self) -> &str
Returns the terminal identifier.
fn hostname(&self) -> &str
Returns the hostname for remote login.
fn address(&self) -> Option<IpAddr>
Returns the IP address of remote host.
fn session_id(&self) -> i32
Returns the Session ID.