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 get 2 errors with the example code from README. I'm using the code in a new crate project.
error[E0603]: struct `Image` is private
--> src/main.rs:1:19
|
1 | use exfat::image::Image;| ^^^^^ private struct
|
note: the struct `Image` is defined here
--> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/exfat-0.1.0/src/image.rs:7:1
|
7 | pub(crate) struct Image<R: Read + Seek> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type`Root`
--> src/main.rs:9:16
|
9 |let root = Root::open(image).expect("cannot open the root directory");| ^^^^ use of undeclared type`Root`
Does the library need to be changed, or is it the example code?
Advice is appreciated
The text was updated successfully, but these errors were encountered:
I get 2 errors with the example code from README. I'm using the code in a new crate project.
Does the library need to be changed, or is it the example code?
Advice is appreciated
The text was updated successfully, but these errors were encountered: