Module sgx_tstd::os::unix::prelude[][src]

A prelude for conveniently writing platform-specific code.

Includes all extension traits, and some important type definitions.

Traits

AsRawFd

A trait to extract the raw unix file descriptor from an underlying object.

FileExt

Unix-specific extensions to File

FileTypeExt

Add support for special unix types (block/char device, fifo and socket).

FromRawFd

A trait to express the ability to construct an object from a raw file descriptor.

IntoRawFd

A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.

MetadataExt
OpenOptionsExt

Unix-specific extensions to OpenOptions

OsStrExt

Unix-specific extensions to OsStr.

OsStringExt

Unix-specific extensions to OsString.

PermissionsExt

Unix-specific extensions to Permissions

Type Definitions

RawFd

Raw file descriptors.