Struct lrs::fd::FdIo

A read/write wrapper for raw file descriptors.

Syntax

struct FdIo(i32)

Fields

PositionDescription
1

The numeric value of the file descriptor.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Eq

Objects that implement the binary == and != operators.

FDContainer

Objects that are file descriptor wrappers.

MaybeClone

Objects that can be duplicated.

Pod

Objects that are safe to use if they contain a random bit pattern.

Read

Objects that wrap a byte-stream for reading.

Write

Objects that wrap a byte-stream for writing.