Debian Codegraph @

third_party/rust/neqo-transport/src/connection/test_internal.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 // Some access to internal connection stuff for testing purposes.
8
9 use crate::packet::PacketBuilder;
10
11 pub trait FrameWriter {
12 fn write_frames(&mut self, builder: &mut PacketBuilder);
13 }