Linux-specific extensions for User.
In Linux user information is provided by
trait methods are representing fields of this struct.
Pid of login process.
Returns the tty or pseudo-tty name associated with user.
Returns the terminal identifier.
Returns the hostname for remote login.
Returns the IP address of remote host.
fn session_id(&self) -> i32
Returns the Session ID.