You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I was looking forward to using this crate but it appears to be Unix only.
error[E0433]: failed to resolve: could not find
unix
inos
--> 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
inos
error[E0599]: no method named
write_at
found for structstd::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 structstd::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
The text was updated successfully, but these errors were encountered: