Home
last modified time | relevance | path

Searched defs:DecoderError (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/hpack/
Ddecoder.rs27 pub enum DecoderError { enum
253 fn process_size_update(&mut self, buf: &mut Cursor<&mut BytesMut>) -> Result<(), DecoderError> { in process_size_update() argument
271 fn decode_indexed(&self, buf: &mut Cursor<&mut BytesMut>) -> Result<Header, DecoderError> { in decode_indexed() argument
280 ) -> Result<Header, DecoderError> { in decode_literal() argument
307 ) -> Result<StringMarker, DecoderError> { in try_decode_string() argument
348 fn decode_string(&mut self, buf: &mut Cursor<&mut BytesMut>) -> Result<Bytes, DecoderError> { in decode_string() argument
365 pub fn load(byte: u8) -> Result<Representation, DecoderError> { in load() argument
391 fn decode_int<B: Buf>(buf: &mut B, prefix_size: u8) -> Result<usize, DecoderError> { in decode_int() argument
509 pub fn get(&self, index: usize) -> Result<Header, DecoderError> { in get() argument
577 impl From<Utf8Error> for DecoderError { implementation
[all …]
Dheader.rs64 pub fn new(name: Bytes, value: Bytes) -> Result<Header, DecoderError> { in new() argument
230 pub fn into_entry(self, value: Bytes) -> Result<Header, DecoderError> { in into_entry() argument
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/hpack/huffman/
Dmod.rs20 pub fn decode(src: &[u8], buf: &mut BytesMut) -> Result<BytesMut, DecoderError> { in decode() argument
77 fn decode4(&mut self, input: u8) -> Result<Option<u8>, DecoderError> { in decode4() argument
107 fn decode(src: &[u8]) -> Result<BytesMut, DecoderError> { in decode() argument