Struct tty::TtyClient [] [src]

pub struct TtyClient {
    // some fields omitted
}

Methods

impl TtyClient

fn new<T, U>(master: T, peer: U) -> Result<TtyClient> where T: AsRawFd + IntoRawFd, U: AsRawFd + IntoRawFd

Setup the peer TTY client (e.g. stdio) and bind it to the master TTY server

fn wait(&self)

Wait until the TTY binding broke (e.g. the connected process exited)

Trait Implementations

impl Drop for TtyClient

fn drop(&mut self)