You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returns CSSender and CSReceiver, which are not public / re-exported in the asynchronous module. This is fine if the sender/receiver are only used locally, but prevents them from being passed to a function / stored in a struct.
Expected result
The types returned by split can be passed to functions / structs.
Actual result
Compile error:
20 | use ttrpc::asynchronous::stream::{CSSender, CSReceiver};
| ^^^^^^ private module
|
or
21 | use ttrpc::asynchronous::{CSSender, CSReceiver};
| ^^^^^^^^ ^^^^^^^^^^ no `CSReceiver` in `asynchronous`
| |
| no `CSSender` in `asynchronous`
The text was updated successfully, but these errors were encountered:
wllenyj
added a commit
to wllenyj/ttrpc-rust
that referenced
this issue
Jun 22, 2023
Description of problem
The current implementation:
returns CSSender and CSReceiver, which are not public / re-exported in the asynchronous module. This is fine if the sender/receiver are only used locally, but prevents them from being passed to a function / stored in a struct.
Expected result
The types returned by
split
can be passed to functions / structs.Actual result
Compile error:
or
The text was updated successfully, but these errors were encountered: