s2n_quic_core/frame/
congestion_controlled.rs1pub trait CongestionControlled {
10 #[inline]
11 fn is_congestion_controlled(&self) -> bool {
12 true
13 }
14}
15
16impl<AckRanges> CongestionControlled for crate::frame::Ack<AckRanges> {
17 #[inline]
18 fn is_congestion_controlled(&self) -> bool {
19 false
20 }
21}
22impl CongestionControlled for crate::frame::ConnectionClose<'_> {}
23impl<Data> CongestionControlled for crate::frame::Crypto<Data> {}
24impl<Data> CongestionControlled for crate::frame::Datagram<Data> {}
27impl CongestionControlled for crate::frame::DataBlocked {}
28impl CongestionControlled for crate::frame::DcStatelessResetTokens<'_> {}
32impl CongestionControlled for crate::frame::HandshakeDone {}
33impl CongestionControlled for crate::frame::MaxData {}
34impl CongestionControlled for crate::frame::MaxStreamData {}
35impl CongestionControlled for crate::frame::MaxStreams {}
36impl CongestionControlled for crate::frame::NewConnectionId<'_> {}
37impl CongestionControlled for crate::frame::NewToken<'_> {}
38impl CongestionControlled for crate::frame::Padding {
39 #[inline]
51 fn is_congestion_controlled(&self) -> bool {
52 false
53 }
54}
55impl CongestionControlled for crate::frame::PathChallenge<'_> {}
56impl CongestionControlled for crate::frame::PathResponse<'_> {}
57impl CongestionControlled for crate::frame::Ping {}
58impl CongestionControlled for crate::frame::ResetStream {}
59impl CongestionControlled for crate::frame::RetireConnectionId {}
60impl CongestionControlled for crate::frame::StopSending {}
61impl CongestionControlled for crate::frame::StreamsBlocked {}
62impl CongestionControlled for crate::frame::StreamDataBlocked {}
63impl<Data> CongestionControlled for crate::frame::Stream<Data> {}