Searched refs:debug_data (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
H A D | frame.rs | 177 debug_data: Vec<u8>, field 477 pub fn new(error_code: u32, last_stream_id: StreamId, debug_data: Vec<u8>) -> Self { in new() 481 debug_data, in new() 487 &self.debug_data in get_debug_data() 502 8 + self.debug_data.len() // 4-byte Last-Stream-ID + 4-byte Error Code + in encoded_len()
|
H A D | decoder.rs | 490 let mut debug_data = vec![]; in decode_goaway_payload() localVariable 491 debug_data.extend_from_slice(&buf[8..]); in decode_goaway_payload() 495 frame::Payload::Goaway(Goaway::new(error_code, last_stream_id, debug_data)), in decode_goaway_payload()
|
H A D | encoder.rs | 1748 let debug_data = vec![1, 2, 3, 4, 5]; in ut_goaway_frame_encoding() localVariable 1752 Payload::Goaway(Goaway::new(error_code, last_stream_id, debug_data.clone())), in ut_goaway_frame_encoding() 1773 expected_encoded_goaway[8..13].copy_from_slice(&debug_data[..]); in ut_goaway_frame_encoding()
|