[][src]Trait heim_host::os::unix::UserExt

pub trait UserExt {
    fn pid(&self) -> pid_t;
fn terminal(&self) -> Option<&str>; }

Unix-specific extensions for User.

This trait is not implemented for User for OpenBSD target.

Required methods

fn pid(&self) -> pid_t

Returns the user Pid

fn terminal(&self) -> Option<&str>

Returns the tty or pseudo-tty name associated with user.

Loading content...

Implementors

impl UserExt for User[src]

Loading content...