Use GAT in volo-grpc `SendEntryMessage`
Open
A-volo-grpc
C-enhancement
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 223
- Avg merge
- 18m
- Merged PRs (30d)
- 1
Description
## Feature Request
### Crates
### Motivation
The definition of `SendEntryMessage` can be better with GAT
```rust
pub trait SendEntryMessage {
fn into_body(
self,
compression_config: Option,
) -> crate::BoxStream<'static, Result>;
}
```
with GAT
```rust
pub trait SendEntryMessage {
type Body: Stream> + Send
fn into_body(
self,
compression_config: Option,
) -> Self::Body;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.