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.

Causes the pty to change its size.

This will additionally cause a SIGWINCH signal to be sent to the running process.

Errors
  • Error::SetTermSize: error setting terminal size

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.