cloudwego / cloudwego/volo

Use GAT in volo-grpc `SendEntryMessage`

Open
#107 2 comments 0 reactions 1 assignee Claimed by @CrazyCollin View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.