/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/ |
H A 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: &str) -> Result<(), H2Error> { in check_header_list_size() argument 184 ) -> Result<(Header, String), H2Error> { in get_header_by_name_and_value() argument
|
H A D | integer.rs | 69 pub(crate) fn next_byte(&mut self, byte: u8) -> Result<Option<usize>, H2Error> { in next_byte() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
H A 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 530 fn decode_reset_payload(&mut self, buf: &[u8]) -> Result<FrameKind, H2Error> { in decode_reset_payload() argument 593 fn decode_data_payload(&mut self, buf: &[u8]) -> Result<FrameKind, H2Error> { in decode_data_payload() argument 774 ) -> Result<FrameKind, H2Error> { in push_promise_framing() argument 851 fn split_token_to_setting(token: &[u8]) -> Result<Option<Setting>, H2Error> { in split_token_to_setting() argument [all …]
|
H A D | error.rs | 33 pub enum H2Error { enum
|
H A D | frame.rs | 566 pub fn error(&self, id: u32) -> Result<H2Error, H2Error> { in error() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/ |
H A D | streams.rs | 218 pub(crate) fn apply_send_initial_window_size(&mut self, size: u32) -> Result<(), H2Error> { in apply_send_initial_window_size() argument 264 pub(crate) fn release_stream_recv_window(&mut self, id: u32, size: u32) -> Result<(), H2Error> { in release_stream_recv_window() argument 277 pub(crate) fn release_conn_recv_window(&mut self, size: u32) -> Result<(), H2Error> { in release_conn_recv_window() argument 339 pub(crate) fn increase_conn_send_window(&mut self, size: u32) -> Result<(), H2Error> { in increase_conn_send_window() argument 362 ) -> Result<(), H2Error> { in reassign_stream_send_window() argument 407 pub(crate) fn headers(&mut self, id: u32) -> Result<Option<Frame>, H2Error> { in headers() argument 421 ) -> Result<DataReadState, H2Error> { in poll_read_body() argument 458 ) -> Result<DataReadState, H2Error> { in poll_sized_data() argument
|
H A D | data_ref.rs | 43 ) -> Poll<Result<usize, H2Error>> { in poll_read() argument
|
H A D | output.rs | 231 fn update_settings(&mut self, frame: &Frame) -> Result<(), H2Error> { in update_settings() argument 240 fn update_decoder_settings(&mut self) -> Result<(), H2Error> { in update_decoder_settings() argument
|
H A D | manager.rs | 402 ) -> Poll<Result<(), H2Error>> { in recv_go_away_frame() argument 444 ) -> Poll<Result<(), H2Error>> { in recv_reset_frame() argument 464 ) -> Poll<Result<(), H2Error>> { in recv_header_frame() argument 480 fn recv_data_frame(&mut self, cx: &mut Context<'_>, frame: Frame) -> Poll<Result<(), H2Error>> { in recv_data_frame() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/buffer/ |
H A D | settings.rs | 50 pub(crate) fn increase_send_size(&mut self, size: u32) -> Result<(), H2Error> { in increase_send_size() argument
|
H A D | window.rs | 42 pub(crate) fn increase_size(&mut self, size: u32) -> Result<(), H2Error> { in increase_size() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | dispatcher.rs | 456 ) -> Result<Vec<u32>, H2Error> { in get_unsent_streams() argument 471 ) -> Poll<Result<(), H2Error>> { in send_message_to_stream() argument
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
H A D | decoder.rs | 46 pub(crate) fn decode(&mut self) -> Result<Option<Representation>, H2Error> { in decode() argument
|