Struct nix::pty::OpenptyResult[][src]

pub struct OpenptyResult {
    pub master: RawFd,
    pub slave: RawFd,
}

Representation of a master/slave pty pair

This is returned by openpty. Note that this type does not implement Drop, so the user must manually close the file descriptors.

Fields

Auto Trait Implementations

impl Send for OpenptyResult

impl Sync for OpenptyResult