Skip to content

Timer trait error mismatch #224

Closed
Closed
@ryankurte

Description

@ryankurte

In the timer trait, the CountDown and Cancel traits share an error definition, but try_wait and try_cancel return different types, which is not ideal for implementation. Discovered in stm32-rs/stm32f4xx-hal#172. I'm not sure of the correct change but, any change would be breaking so a decision on this blocks #177.

cc. @therealprof

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