Debian Codegraph @

third_party/rust/neqo-qpack/src/stats.rs

raw
1 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
4 // option. This file may not be copied, modified, or distributed
5 // except according to those terms.
6
7 // Tracking of some useful statistics.
8
9 #[derive(Default, Debug, Clone)]
10 /// `QPack` statistics
11 pub struct Stats {
12 pub dynamic_table_inserts: usize,
13 // This is the number of header blocks that reference the dynamic table.
14 pub dynamic_table_references: usize,
15 pub stream_cancelled_recv: usize,
16 pub header_acks_recv: usize,
17 }