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

Implement Clone for WeakRecipient #518

Closed
Gentoli opened this issue Jan 2, 2022 · 0 comments · Fixed by #521
Closed

Implement Clone for WeakRecipient #518

Gentoli opened this issue Jan 2, 2022 · 0 comments · Fixed by #521

Comments

@Gentoli
Copy link

Gentoli commented Jan 2, 2022

Your issue may already be reported!
Please search on the Actix issue tracker before creating one.

Expected Behavior

WeakRecipient has Clone, similar to Addr, WeakAddr, and Recipient.

Current Behavior

WeakRecipient cannot be cloned.

Possible Solution

  • Implement Clone for WeakRecipient
  • Allow downgrade from Recipient to WeakRecipient

Steps to Reproduce (for bugs)

N/A

Context

Passing WeakRecipient to created actors.

Your Environment

  • Rust Version (I.e, output of rustc -V): rustc 1.57.0
  • Actix Version: 0.12.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants