-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Implement Read
and Write
on Arc<TcpStream>
and Arc<UnixStream>
.
#134190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
By analogy to rust-lang#94748, this change makes `Arc<TcpStream>` implement these traits that are already implemented on `&TcpStream`.
By analogy to rust-lang#94748, this change makes `Arc<UnixStream>` implement these traits that are already implemented on `&UnixStream`.
r? @Noratrieb
rustbot has assigned @Noratrieb.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r?
to explicitly pick a reviewer
Thank you for the PR! This PR contains a public library API change, which should follow the proper process of creating an ACP first: https://std-dev-guide.rust-lang.org/development/feature-lifecycle.html
Use @rustbot ready
when your ACP has been accepeted.
@rustbot author
Okay, ACP at rust-lang/libs-team#504. Let's see how they like it!
☔ The latest upstream changes (presumably #136572) made this pull request unmergeable. Please resolve the merge conflicts.
By analogy to #94748, this PR makes
Arc<TcpStream>
andArc<UnixStream>
implementRead
andWrite
, which are already implemented on&TcpStream
and&UnixStream
.This is my first non-documentation patch on the library; it's quite possible that I have gotten something wrong, especially surrounding the
#[stable]
attribute.CC #53835
CC #94744