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

Make some functionality of Status public #1256

Merged
merged 2 commits into from
Feb 13, 2023
Merged

Conversation

nrc
Copy link
Contributor

@nrc nrc commented Feb 1, 2023

Motivation

I'm writing a grpc transport layer based on the transport module of tonic. Currently a few bits of Status are pub(crate) so they can be used by transport, but not if the code is pulled into a separate crate.

Solution

Change some pub(crate) to pub and add a public setter method.

Signed-off-by: Nick Cameron <nrc@ncameron.org>
@LucioFranco LucioFranco added this pull request to the merge queue Feb 13, 2023
Merged via the queue into hyperium:master with commit 7c0e9c8 Feb 13, 2023
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.

2 participants