Abstraction of a file- or block derive-like object, data from/to which can be read/written at offsets.
There are alreay some analogues of those traits, including in libstd. But they are either platform-specific or tied to implementation of some algorithm.
This crate focuses on the abstraction itself, providing mostly wrappers and helper functions.
Traits are given in two varieties: with mutable
&mut self and immutable
libstd's platform-specific FileExt traits are forwarded for std::fs::File.
There is a generic wrapper for using
Immutable version of traits are implemented for
Mutexs over mutable versions.
You may need to use
DerefWrapper it you use trait ojects although.
- vectored IO
- reading to uninitialized buffers?
A wrapper struct to allow accessing
A wrapper that calls
Read-only generalisation of
A combined ReadAt and WriteAt for trait objects.
A combined ReadAtMut and WriteAtMut for trait objects
Write counterpart of