Skip to content

[Question] Why doesn't oneshot::Receiver implement FusedFuture?

Closed

Description

If a receiver can only receive once, then shouldn't it implement FusedFuture? I just tried selecting on a receiver using the select! macro, and it wouldn't let me do it since it doesn't implement that trait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-channelArea: futures::channelArea: futures::channel

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions