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

The master port in a virtual pty pair

The slave port in a virtual pty pair

Trait Implementations

impl Clone for OpenptyResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for OpenptyResult
[src]

Auto Trait Implementations

impl Send for OpenptyResult

impl Sync for OpenptyResult