Crate seekable_async_file
source ·Structs
- AFile-like value that can perform asyncread_atandwrite_atfor I/O at specific offsets without mutating any state (i.e. is thread safe). Metrics are collected, and syncs can be delayed for write batching opportunities as a performance optimisation.
- Metrics populated by aSeekableAsyncFile. There should be exactly one perSeekableAsyncFile; don’t share between multipleSeekableAsyncFilevalues.
- Data to write and the offset to write it at. This is provided towrite_at_with_delayed_sync.