Skip to content

Document cancellation safety of read_datagram, accept_bi, and accept_uni #2247

Open
@bbaldino

Description

@bbaldino

I was looking at a server being able to read/support any connection type and was thinking about putting accept_bi, accept_uni, and read_datagram in a tokio::select but I noticed none of those methods have docs regarding whether they're cancellation safe.

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