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

feat(tonic): impl Clone for Status using Arc #1076

Merged
merged 1 commit into from Sep 12, 2022
Merged

Conversation

davidpdrsn
Copy link
Member

Fixes #1075

Turns out using Arc<dyn Error> for the status makes Status cloneable. Users sometimes ask about this and I think it makes sense to support.

@davidpdrsn davidpdrsn added C-enhancement Category: New feature or request A-tonic labels Sep 11, 2022
@LucioFranco LucioFranco merged commit ee3d0df into master Sep 12, 2022
@LucioFranco LucioFranco deleted the david/status-clone branch September 12, 2022 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tonic C-enhancement Category: New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement Clone for tonic::Status
2 participants