Lines Matching refs:WireError
20 use crate::error::WireError;
86 return Err(ProtobufError::WireError(WireError::OverRecursionLimit)); in incr_recursion()
153 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in check_eof()
163 return Err(ProtobufError::WireError(WireError::IncorrectVarint)); in read_raw_varint64_slow()
204 return Err(ProtobufError::WireError( in read_raw_varint64()
205 WireError::IncorrectVarint, in read_raw_varint64()
277 None => Err(ProtobufError::WireError(WireError::IncorrectTag(v))), in read_tag()
359 None => Err(ProtobufError::WireError(WireError::InvalidEnumValue(i))), in read_enum()
585 _ => Err(ProtobufError::WireError(WireError::UnexpectedWireType( in read_unknown()
609 return Err(ProtobufError::WireError(WireError::TruncatedMessage)); in read_raw_bytes_into()
623 return Err(ProtobufError::WireError(WireError::TruncatedMessage)); in read_raw_bytes_into()
693 Err(_) => return Err(ProtobufError::WireError(WireError::Utf8Error)), in read_string_into()
874 Err(ProtobufError::WireError(..)) => (), in test_input_stream_read_raw_vaint_malformed()
882 Err(ProtobufError::WireError(..)) => (), in test_input_stream_read_raw_vaint_malformed()
893 Err(ProtobufError::WireError(..)) => (), in test_input_stream_read_raw_varint_unexpected_eof()