It also defines
which implement the above traits and and can be constructed from any
file-like type. On Posix-ish platforms, including limited support for
WASI, these types just contain a single file descriptor (and implement
AsRawFd), plus any resources needed to safely hold the file descriptor
live. On Windows, they contain a single file handle (and implement
- A random-access input source and output sink.
- A random-access input source.
- A random-access output sink.
- Metadata information about an array.
- Advice to pass to
Array::adviseto describe an expected access pattern.
- A minimal base trait for array I/O. Defines operations common to all kinds of random-access devices that fit the “array” concept, including normal files, block devices, and in-memory buffers.
- A trait for reading and writing to arrays.
- A trait for reading from arrays.
- A trait for writing to arrays.