Skip to content

tokio_stream::StreamExt vs. futures::StreamExt in chat example #4855

Answered by Darksonn
atsmtat asked this question in General
Discussion options

You must be logged in to vote

Both futures::stream::Stream and tokio_stream::Stream are the same trait, so it makes no difference.

(They're both re-exports of futures_core::stream::Stream.)

Replies: 1 comment 3 replies

Comment options

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

@atsmtat
Comment options

@Darksonn
Comment options

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