| /commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/ |
| D | decoder.rs | 55 pub(crate) fn decode(&mut self, buf: &[u8]) -> Result<(), H2Error> { in decode() argument 76 pub(crate) fn finish(&mut self) -> Result<Parts, H2Error> { in finish() argument 113 fn update(&mut self, repr: Representation) -> Result<(), H2Error> { in update() argument 132 fn update_indexed(&mut self, index: usize) -> Result<(), H2Error> { in update_indexed() argument 142 fn update_literal_with_indexing(&mut self, name: Name, value: Vec<u8>) -> Result<(), H2Error> { in update_literal_with_indexing() argument 154 ) -> Result<(), H2Error> { in update_literal_without_indexing() argument 162 fn update_literal_never_indexing(&mut self, name: Name, value: Vec<u8>) -> Result<(), H2Error> { in update_literal_never_indexing() argument 166 fn check_header_list_size(&mut self, key: &Header, value: &String) -> Result<(), H2Error> { in check_header_list_size() argument 184 ) -> Result<(Header, String), H2Error> { in get_header_by_name_and_value() argument
|
| D | integer.rs | 69 pub(crate) fn next_byte(&mut self, byte: u8) -> Result<Option<usize>, H2Error> { in next_byte() argument
|
| /commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
| D | decoder.rs | 222 fn hpack_decode(&mut self, buf: &[u8]) -> Result<(), H2Error> { in hpack_decode() argument 226 fn hpack_finish(&mut self) -> Result<Parts, H2Error> { in hpack_finish() argument 320 pub fn set_max_frame_size(&mut self, size: u32) -> Result<(), H2Error> { in set_max_frame_size() argument 348 pub fn decode(&mut self, buf: &[u8]) -> Result<Frames, H2Error> { in decode() argument 380 ) -> Result<Option<(&'a [u8], FrameKind)>, H2Error> { in decode_frame_payload() argument 420 fn decode_ping_payload(&mut self, buf: &[u8]) -> Result<FrameKind, H2Error> { in decode_ping_payload() argument 444 fn decode_priority_payload(&mut self, buf: &[u8]) -> Result<FrameKind, H2Error> { in decode_priority_payload() argument 474 fn decode_goaway_payload(&mut self, buf: &[u8]) -> Result<FrameKind, H2Error> { in decode_goaway_payload() argument 501 fn decode_window_update_payload(&mut self, buf: &[u8]) -> Result<FrameKind, H2Error> { in decode_window_update_payload() argument 530 fn decode_reset_payload(&mut self, buf: &[u8]) -> Result<FrameKind, H2Error> { in decode_reset_payload() argument [all …]
|
| D | error.rs | 33 pub enum H2Error { enum
|
| D | frame.rs | 546 pub fn error(&self, id: u32) -> Result<H2Error, HttpError> { in error()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
| D | dispatcher.rs | 355 ) -> Result<Vec<u32>, H2Error> { in get_goaway_streams() argument 366 pub(crate) fn recv_local_reset(&mut self, id: u32) -> Result<(), H2Error> { in recv_local_reset() argument 381 pub(crate) fn recv_remote_reset(&mut self, id: u32) -> Result<(), H2Error> { in recv_remote_reset() argument 398 pub(crate) fn recv_headers(&mut self, id: u32) -> Result<StreamState, H2Error> { in recv_headers() argument 416 pub(crate) fn recv_data(&mut self, id: u32) -> Result<StreamState, H2Error> { in recv_data() argument 420 pub(crate) fn pop_front(&mut self) -> Result<Option<Frame>, H2Error> { in pop_front() argument 458 pub(crate) fn go_away(&mut self, last_stream_id: u32) -> Result<(), H2Error> { in go_away() argument 862 ) -> Poll<Result<(), H2Error>> { in poll_io() argument 901 ) -> Poll<Result<DispatchState, H2Error>> { in poll_dispatch_frame() argument 916 ) -> Poll<Result<(), H2Error>> { in poll_send_preface() argument [all …]
|
| /commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
| D | decoder.rs | 46 pub(crate) fn decode(&mut self) -> Result<Option<Representation>, H2Error> { in decode() argument
|