Skip to content

Improve documentation for TcpStream::set_nonblocking #44050

Description

@mbrubeck

These docs currently just refer to POSIX and Win32 APIs, without explaining what they do (or even linking to docs for the corresponding platform APIs):

https://doc.rust-lang.org/std/net/struct.TcpStream.html#method.set_nonblocking

I'd like to have more information here about how other TcpStream methods change their behavior after calling this, possibly with an example.

Activity

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

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions