-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
The 3 methods added in #63010 makes MetadataExt
cannot be implemented in stable rust.
error[E0046]: not all trait items implemented, missing: `volume_serial_number`, `number_of_links`, `file_index`
--> compio-fs\src\metadata\windows.rs:149:1
|
149 | impl MetadataExt for Metadata {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `volume_serial_number`, `number_of_links`, `file_index` in implementation
|
= help: implement the missing item: `fn volume_serial_number(&self) -> Option<u32> { todo!() }`
= help: implement the missing item: `fn number_of_links(&self) -> Option<u32> { todo!() }`
= help: implement the missing item: `fn file_index(&self) -> Option<u64> { todo!() }`
The trait should provide default impls for them.
Metadata
Metadata
Assignees
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.