Struct tty::FileDesc [] [src]

pub struct FileDesc { /* fields omitted */ }

Wrapper around a raw file descriptor.

Methods

impl FileDesc
[src]

Set close_on_drop to true to close the inner file descriptor when the FileDesc is drop.

Duplicate the inner file descriptor.

Trait Implementations

impl IntoRawFd for FileDesc
[src]

Consumes this object, returning the raw underlying file descriptor. Read more

impl Drop for FileDesc
[src]

A method called when the value goes out of scope. Read more

impl AsRawFd for FileDesc
[src]

Extracts the raw file descriptor. Read more

impl Debug for FileDesc
[src]