-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Requiring pin_mut!(s);
at the usage site may be efficient, but it is an awkward requirement for users of such API.
I've found that wrapping returned stream in Box::pin
makes it "just work". I suspect that for network-bound streams the overhead will be negligible.
Could you mention this alternative in the docs?
alextes, lithammer and heaths
Metadata
Metadata
Assignees
Labels
No labels