Struct pty_process::Child [−][src]
pub struct Child<C, P> { /* fields omitted */ }
Expand description
Wrapper struct adding pty methods to the normal Child
struct.
Implementations
Returns a reference to the pty.
The underlying pty instance is guaranteed to implement
AsRawFd
, as well as the appropriate
Read
and Write
traits for the associated backend.
Returns a mutable reference to the pty.
The underlying pty instance is guaranteed to implement
AsRawFd
, as well as the appropriate
Read
and Write
traits for the associated backend.
This method is primarily useful for the tokio backend, since tokio’s
AsyncRead
and AsyncWrite
traits have methods which take mutable
references.