Skip to content

Should Sender::try_send return the message on failure? #11527

Closed
@brson

Description

@brson

If we add a synchronous channel it will need to return the message if the queue is full, and it might as well return the message if the channel is closed. Seems useful to be able to retrieve the message in all cases where a send doesn't succeed.

Nominating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions