remove generic arg from Connection

This commit is contained in:
François Michel 2023-07-10 13:03:34 +00:00
parent 6657464462
commit 31bd538481
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ type ErrorCode = u64;
type StreamId = u64;
/// Trait representing a QUIC connection.
pub trait Connection<B: Buf> {
pub trait Connection {
/// The type produced by `poll_accept_bidi()`
type BidiStream: SendStream + RecvStream;
/// The type of the sending part of `BidiStream`