Skip to content

Why tokio does not implement itself from future crates like forward, next? #4909

Answered by Darksonn
doowonee asked this question in Q&A
Discussion options

You must be logged in to vote

All types in Tokio that can be converted to a Stream using the tokio-stream crate have a method that does the same as what .next() does when converted to a Stream. However, it will usually have a different name — for example, the method is called recv on mpsc::Receiver.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@doowonee
Comment options

@Darksonn
Comment options

@doowonee
Comment options

Answer selected by doowonee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants