Struct std::sys::unix::fs::File[][src]

pub struct File(FileDesc);

Tuple Fields

0: FileDesc

Implementations

Trait Implementations

🔬 This is a nightly-only experimental API. (io_safety #87074)
This is supported on Unix only.

Borrows the file descriptor. Read more

This is supported on Unix only.

Extracts the raw file descriptor. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This is supported on Unix only.

Constructs a new instance of Self from the given raw file descriptor. Read more

This is supported on Unix only.

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.