Crate seekable_async_file
source ·Structs
- A
File
-like value that can perform asyncread_at
andwrite_at
for 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 a
SeekableAsyncFile
. There should be exactly one perSeekableAsyncFile
; don’t share between multipleSeekableAsyncFile
values. - Data to write and the offset to write it at. This is provided to
write_at_with_delayed_sync
.