Searched refs:WireError (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/protobuf/src/ |
D | error.rs | 16 pub enum WireError { enum 39 impl fmt::Display for WireError { implementation 42 WireError::Utf8Error => write!(f, "invalid UTF-8 sequence"), in fmt() 43 WireError::UnexpectedWireType(..) => write!(f, "unexpected wire type"), in fmt() 44 WireError::InvalidEnumValue(..) => write!(f, "invalid enum value"), in fmt() 45 WireError::IncorrectTag(..) => write!(f, "incorrect tag"), in fmt() 46 WireError::IncorrectVarint => write!(f, "incorrect varint"), in fmt() 47 WireError::IncompleteMap => write!(f, "incomplete map"), in fmt() 48 WireError::UnexpectedEof => write!(f, "unexpected EOF"), in fmt() 49 WireError::OverRecursionLimit => write!(f, "over recursion limit"), in fmt() [all …]
|
D | buf_read_iter.rs | 18 use crate::error::WireError; 150 None => return Err(ProtobufError::WireError(WireError::Other)), in push_limit() 154 return Err(ProtobufError::WireError(WireError::Other)); in push_limit() 214 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_byte() 248 return Err(ProtobufError::WireError(WireError::TruncatedMessage)); in read_exact_to_vec() 269 return Err(ProtobufError::WireError(WireError::TruncatedMessage)); in read_exact_to_vec() 291 None => return Err(ProtobufError::WireError(WireError::UnexpectedEof)), in read_exact_bytes() 295 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_exact_bytes() 347 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_exact() 366 return Err(ProtobufError::WireError(WireError::UnexpectedEof)); in read_exact()
|
D | coded_input_stream.rs | 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() [all …]
|
D | rt.rs | 18 use crate::error::WireError; 834 ProtobufError::WireError(WireError::UnexpectedWireType(wire_type)) in unexpected_wire_type()
|
/external/rust/crates/grpcio/src/ |
D | error.rs | 80 use protobuf::error::WireError; 87 let error = ProtobufError::WireError(WireError::UnexpectedEof); in test_convert()
|