Crate seekable_async_file

Source

Structs§

SeekableAsyncFile
A File-like value that can perform async read_at and write_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.
SeekableAsyncFileMetrics
Metrics populated by a SeekableAsyncFile. There should be exactly one per SeekableAsyncFile; don’t share between multiple SeekableAsyncFile values.
WriteRequest
Data to write and the offset to write it at. This is provided to write_at_with_delayed_sync.

Functions§

get_file_len_via_seek