Expand description
SparseIO - A Rust library for efficient sparse I/O operations. This library provides an interface to define how to efficiently read from and write to sparse objects, while tracking cache coverage and in-flight operations to optimize performance and resource usage in order to deduplicate work done across multiple I/O operations.
Modules§
- debug
- Opt-in validation harnesses for downstream backend verification.
- sources
- Implementations of the
crate::Reader, andcrate::Writerfor dealing with common use cases. Usages of such sources are shown in the examples, and they can be used as building blocks for more complex custom sources, references for building your own source, or as-is. - utils
- Opt-in helper utilities for examples, tests, and downstream validation.
Structs§
- Builder
- Builder pattern for constructing a
crate::SparseIOinstance. This allows callers to specify required and optional fields, and provides validation before constructing the final instance. - SparseIO
- User-facing API for sparse I/O operations. Provides an interface to read from a sparse object, which is backed by
an
crate::Writerfor storing filled in extents, and acrate::Readerfor the actual I/O operations. - Viewer
- Viewer type for the sparse I/O library. This struct provides an interface to read
from a sparse object opened via
crate::SparseIO.