I was looking forward to using this crate but it appears to be Unix only.
error[E0433]: failed to resolve: could not find unix in os
--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:84:14
|
84 | use std::os::unix::fs::FileExt;
| ^^^^ could not find unix in os
error[E0599]: no method named write_at found for struct std::fs::File in the current scope
--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:577:14
|
577 | .write_at(&self.compress_buffer, cur_offset as u64)?;
| ^^^^^^^^ method not found in std::fs::File
error[E0599]: no method named write_at found for struct std::fs::File in the current scope
--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:593:14
|
593 | .write_at(buf.as_slice(), index_block_position as u64)?;
| ^^^^^^^^ method not found in std::fs::File
error[E0599]: no method named read_at found for reference &'a std::fs::File in the current scope
--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:869:37
|
869 | let actual_read = self.file.read_at(buf_slice, self.offset as u64)?;
| ^^^^^^^ method not found in &'a std::fs::File
error: aborting due to 4 previous errors
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try rustc --explain E0433.
error: could not compile shardio.
See also??
std::os::windows::fs::FileExt::seek_read(&self, buf: &mut [u8], offset: u64) -> Result
std::os::windows::fs::FileExt::seek_write(&self, buf: &[u8], offset: u64) -> Result
I was looking forward to using this crate but it appears to be Unix only.
error[E0433]: failed to resolve: could not find
unixinos--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:84:14
|
84 | use std::os::unix::fs::FileExt;
| ^^^^ could not find
unixinoserror[E0599]: no method named
write_atfound for structstd::fs::Filein the current scope--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:577:14
|
577 | .write_at(&self.compress_buffer, cur_offset as u64)?;
| ^^^^^^^^ method not found in
std::fs::Fileerror[E0599]: no method named
write_atfound for structstd::fs::Filein the current scope--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:593:14
|
593 | .write_at(buf.as_slice(), index_block_position as u64)?;
| ^^^^^^^^ method not found in
std::fs::Fileerror[E0599]: no method named
read_atfound for reference&'a std::fs::Filein the current scope--> C:\Users\leontoeides.cargo\registry\src\github.com-1ecc6299db9ec823\shardio-0.7.3\src\lib.rs:869:37
|
869 | let actual_read = self.file.read_at(buf_slice, self.offset as u64)?;
| ^^^^^^^ method not found in
&'a std::fs::Fileerror: aborting due to 4 previous errors
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try
rustc --explain E0433.error: could not compile
shardio.See also??
std::os::windows::fs::FileExt::seek_read(&self, buf: &mut [u8], offset: u64) -> Result
std::os::windows::fs::FileExt::seek_write(&self, buf: &[u8], offset: u64) -> Result