Expand description
Core traits and implementations for asynchronous IO.
Vortex implements an IPC streaming format as well as a file format, both of which run on top of a variety of storage systems that can be accessed from multiple async runtimes.
This crate provides core traits for positioned and streaming IO, and via feature flags implements the core traits for several common async runtimes and backing stores.
Modules§
- compat
- Compatibility layer similar to Rust async-compat that allows non-Tokio runtimes to use Tokio-based implementations of the core traits, such as the ObjectStore implementations.
- filesystem
- A filesystem abstraction for discovering and opening Vortex files.
- kanal_
ext - object_
store - runtime
- A Vortex runtime provides an abstract way of scheduling mixed I/O and CPU workloads onto the various threading models supported by Vortex.
- session
- std_
file
Structs§
- Async
Write Adapter - An adapter to use an
AsyncWriteas aVortexWrite. - Coalesce
Config - Configuration for coalescing nearby I/O requests into single operations.
- Instrumented
Read At - A wrapper that instruments a
VortexReadAtwith metrics. - Owned
Slice - An owned view into a contiguous sequence of bytes.
- Size
Limited Stream - A
Streamthat can work on several simultaneous requests, capping the amount of memory it uses at any given point.
Traits§
- IoBuf
- Trait for types that can provide a readonly byte buffer interface to I/O frameworks.
- Vortex
Read At - The unified read trait for Vortex I/O sources.
- Vortex
Write