Expand description
A wrapper around Disk that adapts the trait for use with
synchronous std::io traits (such as Read, Write, Seek, etc…).
NOTE: this is not code that should see wide use across the HvLite codebase! It was written to support a very-specific use-case: leveraging existing, synchronous, Rust/C library code that reformats/repartitions drives.
The fact that this adapter exists should be considered a implementation wart, and it would be great if we could swap out any dependant code with native-async implementations at some point in the future.
Structs§
- Blocking
Disk - Wrapper around
Diskthat implements the synchronousstd::iotraits (such asRead,Write,Seek, etc…) using [block_on].