Skip to content

Qx rd outer lifetime - #219

Open
Sergey Kuks (sergeyQx) wants to merge 3 commits into
masterfrom
qx-rdOuterLifetime
Open

Qx rd outer lifetime#219
Sergey Kuks (sergeyQx) wants to merge 3 commits into
masterfrom
qx-rdOuterLifetime

Conversation

@sergeyQx

Copy link
Copy Markdown
Contributor

RdOuterLifetime to pass OuterLifetime over the protocol

@ulex Alexander Ulitin (ulex) left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Contributor

Totally agree with Alexander Ulitin (@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