pub trait FileExt: Sealed {
// Required methods
fn seek_read(&self, buf: &mut [u8], offset: u64) -> Result<usize>;
fn seek_write(&self, buf: &[u8], offset: u64) -> Result<usize>;
}
Expand description
Wrapper for std::os::windows::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.
Required Methods§
sourcefn seek_read(&self, buf: &mut [u8], offset: u64) -> Result<usize>
fn seek_read(&self, buf: &mut [u8], offset: u64) -> Result<usize>
Wrapper for FileExt::seek_read
sourcefn seek_write(&self, buf: &[u8], offset: u64) -> Result<usize>
fn seek_write(&self, buf: &[u8], offset: u64) -> Result<usize>
Wrapper for FileExt::seek_wriite