pub trait FileExt: Sealed {
// Required methods
fn read_at(&self, buf: &mut [u8], offset: u64) -> Result<usize>;
fn write_at(&self, buf: &[u8], offset: u64) -> Result<usize>;
}
Expand description
Wrapper for std::os::unix::fs::FileExt
.
The std traits might be extended in the future (See issue #49961). This trait is sealed and can not be implemented by other crates.