• Home
  • Raw
  • Download

Lines Matching defs:DecoderError

27 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
578 fn from(_: Utf8Error) -> DecoderError { in from()
584 impl From<header::InvalidHeaderValue> for DecoderError { implementation
585 fn from(_: header::InvalidHeaderValue) -> DecoderError { in from()
591 impl From<header::InvalidHeaderName> for DecoderError { implementation
592 fn from(_: header::InvalidHeaderName) -> DecoderError { in from()
598 impl From<method::InvalidMethod> for DecoderError { implementation
599 fn from(_: method::InvalidMethod) -> DecoderError { in from()
605 impl From<status::InvalidStatusCode> for DecoderError { implementation
606 fn from(_: status::InvalidStatusCode) -> DecoderError { in from()