Struct nix::pty::ForkptyResult
source · pub struct ForkptyResult {
pub master: RawFd,
pub fork_result: ForkResult,
}
Expand description
Representation of a master with a forked pty
This is returned by forkpty
. Note that this type does not implement Drop
, so the user
must manually close the file descriptors.
Fields§
§master: RawFd
The master port in a virtual pty pair
fork_result: ForkResult
Metadata about forked process
Trait Implementations§
source§impl Clone for ForkptyResult
impl Clone for ForkptyResult
source§fn clone(&self) -> ForkptyResult
fn clone(&self) -> ForkptyResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more