Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand embedded_io::ErrorKind to better match std::io::ErrorKind. #648

Open
jacobguenther opened this issue Feb 10, 2025 · 0 comments
Open

Comments

@jacobguenther
Copy link

jacobguenther commented Feb 10, 2025

embedded_io::ErrorKind only has 18 variants while std::io::ErrorKind has 41. I am porting a zip library to no_std and would like to use more of the variants. Some of these variants would also be useful for filesystems on sdcards.
These are some of the errors I need to use.
NotADirectory,
IsADirectory,
DirectoryNotEmpty,
ReadOnlyFilesystem,
StorageFull,
NotSeekable,
QuotaExceeded,
FileTooLarge,
CrossesDevices,
InvalidFilename,
UnexpectedEof,

I don't see why not implementing all of them though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant