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

util: add examples for FramedRead and FramedWrite #6310

Merged
merged 10 commits into from Feb 10, 2024

Conversation

maminrayej
Copy link
Member

Resolves #6299.

@maminrayej maminrayej added T-docs Topic: documentation A-tokio-util Area: The tokio-util crate M-codec Module: tokio-util/codec labels Jan 26, 2024
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

These examples are good, but I want something on the tokio_util::codec module as well. Preferably at the top, before the current examples. And I'd like it to go into more details explaining that the StreamExt import is needed to call next and the like.

tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
tokio-util/src/codec/mod.rs Outdated Show resolved Hide resolved
maminrayej and others added 4 commits January 30, 2024 13:21
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Sorry about the delay.

@maminrayej maminrayej merged commit e25d661 into tokio-rs:master Feb 10, 2024
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio-util Area: The tokio-util crate M-codec Module: tokio-util/codec T-docs Topic: documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Codecs documentation could use some fully formed examples
2 participants