Skip to content

We should clarify how e-h-async traits should behave in the face of cancellation #632

@jamesmunns

Description

@jamesmunns

Should we specify behaviors for drop/cancellation, or even mem::forget for embedded-hal-async methods? This impacts all async methods, as well as things like SpiBus.

See https://libera.irclog.whitequark.org/rust-embedded/2024-09-24#1727191016-1727191658; for brief chat conversation history.

Originally posted by @jamesmunns in rust-embedded/wg#796 (comment)

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