Return type: module is private (Rust newbie question) #837
Unanswered
visortelle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement the following function:
The problem is: I determine the actual
<some_type>
via copying a type from the compiler error.For the regular service works. The type is:
pb::my_service_server::MyServiceServer<State>
.But for reflection and service with tonic_web there is an issue:
Is there some workaround or it just should be changed to the public in the tonic code?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions