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§
Sourcefn as_async_pty_fd(&self, cx: &mut Context<'_>) -> Poll<RawFd>
fn as_async_pty_fd(&self, cx: &mut Context<'_>) -> Poll<RawFd>
Return a Poll containing the RawFd