Skip to content

Timer methods should return Pin<Box<dyn Sleep>> and Sleep should drop the Unpin requirement #3028

@sfackler

Description

@sfackler

Otherwise, you need to double-box !Unpin timer futures like Tokio's.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rtArea: runtime traits/utilsB-breaking-changeBlocked: this is an "API breaking change".C-bugCategory: bug. Something is wrong. This is bad!

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions