-
Notifications
You must be signed in to change notification settings - Fork 628
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
Add as_pin_ref
and as_pin_mut
to Either
#2629
Comments
|
Thank you for answering so quickly and thoroughly :) This is resolved from my end unless you want to keep it open to maybe also expose |
Either::project
publicly?as_pin_ref
and as_pin_mut
to Either
Re-opening -- I think it is reasonable to have such methods in futures. |
Would it make sense to depend on |
It's possible, but that would be a breaking change to combine them, as one can currently have both |
In addition to it being a breaking change, we are also implementing stream and async io traits on our |
Over at
either
, we are discussing to add structural projection.Would that be a safe thing to do? What are the reasons why it is not public here in
futures::Either
?Any advice is greatly appreciated.
The text was updated successfully, but these errors were encountered: