Skip to content

honor ErrorKind::Interrupted in write_all()? #611

Open
@rmja

Description

@rmja

Currently in write_all() (https://github.com/rust-embedded/embedded-hal/blob/master/embedded-io-async/src/lib.rs#L134) we do not retry if the return error has kind() == ErrorKind::Interrupted. This is different than std: https://doc.rust-lang.org/src/std/io/mod.rs.html#1696-1708.

Should ErrorKind::Interrupted lead to a silent retry in write_all()?

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