[−][src]Trait tab_pty_process::PollPtyMaster
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>>
&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>>
&self,
cx: &mut Context<'_>
) -> Poll<Result<(c_ushort, c_ushort), Error>>
Get the PTY size