Struct nix::pty::PtyMaster
[−]
[src]
pub struct PtyMaster(_);
Representation of the Master device in a master/slave pty pair
While this datatype is a thin wrapper around RawFd
, it enforces that the available PTY
functions are given the correct file descriptor. Additionally this type implements Drop
,
so that when it's consumed or goes out of scope, it's automatically cleaned-up.
Trait Implementations
impl Debug for PtyMaster
[src]
impl AsRawFd for PtyMaster
[src]
impl IntoRawFd for PtyMaster
[src]
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor. Read more