Skip to content

Visibility of the Stream adaptor structures in tokio-stream #6655

Discussion options

You must be logged in to vote

If the type is visible, then you can write code that would not compile if the type stops being Take<Self>. Changing it to return impl Stream would count as that.

As for whether a change will be made, well, I could probably be convinced to accept a change for this. But I will not make the change myself.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sharpened-nacho
Comment options

@Darksonn
Comment options

Answer selected by sharpened-nacho
@sharpened-nacho
Comment options

@Darksonn
Comment options

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