Skip to content
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

Qx rd outer lifetime #219

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Qx rd outer lifetime #219

wants to merge 3 commits into from

Conversation

sergeyQx
Copy link
Collaborator

@sergeyQx sergeyQx commented May 5, 2021

RdOuterLifetime to pass OuterLifetime over the protocol

@ForNeVeR ForNeVeR requested a review from ulex May 6, 2021 06:01
Copy link
Collaborator

@ulex ulex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no objection to merging it, but I think we should refrain from this scheme by default and use it only in special situations. There are existing implicit alternatives to Lifetime in protocol (like presense in live collections) which should be used in the most scenarios.

@korifey
Copy link
Contributor

korifey commented May 6, 2021

Totally agree with @ulex

what is your scenario of passing lifetime explicitly?
usually you set some property and view it to get lifetime on counterpart side

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

Successfully merging this pull request may close these issues.

3 participants