[][src]Trait tab_pty_process::PollPtyMaster

pub trait PollPtyMaster {
    fn poll_ptsname(
        &self,
        cx: &mut Context<'_>
    ) -> Poll<Result<OsString, Error>>;
fn poll_resize(
        &self,
        cx: &mut Context<'_>,
        rows: c_ushort,
        cols: c_ushort
    ) -> Poll<Result<(), Error>>;
fn poll_winsize(
        &self,
        cx: &mut Context<'_>
    ) -> Poll<Result<(c_ushort, c_ushort), Error>>; }

Trait containing generalized methods for PTYs

Required methods

fn poll_ptsname(&self, cx: &mut Context<'_>) -> Poll<Result<OsString, Error>>

Return the full pathname of the slave device counterpart

fn poll_resize(
    &self,
    cx: &mut Context<'_>,
    rows: c_ushort,
    cols: c_ushort
) -> Poll<Result<(), Error>>

Resize the PTY

fn poll_winsize(
    &self,
    cx: &mut Context<'_>
) -> Poll<Result<(c_ushort, c_ushort), Error>>

Get the PTY size

Loading content...

Implementors

impl<T: AsAsyncPtyFd> PollPtyMaster for T[src]

Loading content...