Skip to content

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

@jacobguenther

Description

@jacobguenther

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions