Closed awaited-hare closed 4 years ago
error[E0046]: not all trait items implemented, missing: `as_flags` --> /home/alice/.cargo/registry/src/github.com-1ecc6299db9ec823/async-fs-1.3.0/src/lib.rs:1431:1 | 1431 | impl std::os::unix::fs::OpenOptionsExt for OpenOptions { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `as_flags` in implementation | = help: implement the missing item: `fn as_flags(&self) -> std::result::Result<i32, std::io::Error> { todo!() }`
Found this related issue: https://github.com/rust-lang/rust/issues/77089.
async-fs now defines its own extension traits rather than implementing those from std.
async-fs
std