AsAsyncPtyFd

Trait AsAsyncPtyFd 

Source
pub trait AsAsyncPtyFd {
    // Required method
    fn as_async_pty_fd(&self, cx: &mut Context<'_>) -> Poll<RawFd>;
}
Expand description

Trait to asynchronously get the RawFd of the master side of the PTY

Required Methods§

Source

fn as_async_pty_fd(&self, cx: &mut Context<'_>) -> Poll<RawFd>

Return a Poll containing the RawFd

Implementors§