Crate olio

Source
Expand description

This crate provides I/O-related utilities complimenting the Rust Standard Library std::io, std::fs, etc.

§Overview

The fs module includes a fs::PosRead trait, offering a uniform pread for positioned file reads, and a fs::ReadSlice supporting multiple independent reader instances limited to a fixed start..end range.

The io module includes a io::GatheringReader, which presents a continuous Read interface over N non-contiguous byte buffers.

The mem module includes a mem::MemHandle supporting prioritized concurrent memory access advice (e.g. madvise (2) on unix).

§Optional Features

mmap (default): Adds fs::ReadSlice::mem_map support for memory mapping.

Modules§

  • Filesystem extensions and utilities.
  • I/O extensions and utilities
  • Random access memory utilities

Statics§