Skip to content
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

feat: Implement ReadVolatile and WriteVolatile for TcpStream #304

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

ljrcore
Copy link

@ljrcore ljrcore commented Oct 24, 2024

Add implementations of the ReadVolatile and WriteVolatile traits for std::net::TcpStream by extending the impl_read_write_volatile_for_raw_fd! macro.

Copy link
Collaborator

@roypat roypat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could you also add a changelog entry about this new implementation? :o

@ljrcore
Copy link
Author

ljrcore commented Oct 24, 2024

Thanks! Could you also add a changelog entry about this new implementation? :o

Done.

Thanks

CHANGELOG.md Outdated Show resolved Hide resolved
Add implementations of the ReadVolatile and WriteVolatile traits for
std::net::TcpStream by extending the impl_read_write_volatile_for_raw_fd!
macro.

Suggested-by: Patrick Roy <[email protected]>
Signed-off-by: Yi Wang <[email protected]>
Signed-off-by: Jinrong Liang <[email protected]>
@roypat roypat requested a review from rbradford October 28, 2024 07:19
@roypat roypat merged commit c2cdad5 into rust-vmm:main Nov 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The trait ReadVolatile and WriteVolatile are not implemented for TcpStream
3 participants