Lines Matching refs:WireError
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()
50 WireError::TruncatedMessage => write!(f, "truncated message"), in fmt()
51 WireError::Other => write!(f, "other error"), in fmt()
62 WireError(WireError), enumerator
85 &ProtobufError::WireError(ref e) => fmt::Display::fmt(e, f), in fmt()
98 &ProtobufError::WireError(ref e) => match *e { in description()
99 WireError::Utf8Error => "invalid UTF-8 sequence", in description()
100 WireError::UnexpectedWireType(..) => "unexpected wire type", in description()
101 WireError::InvalidEnumValue(..) => "invalid enum value", in description()
102 WireError::IncorrectTag(..) => "incorrect tag", in description()
103 WireError::IncorrectVarint => "incorrect varint", in description()
104 WireError::IncompleteMap => "incomplete map", in description()
105 WireError::UnexpectedEof => "unexpected EOF", in description()
106 WireError::OverRecursionLimit => "over recursion limit", in description()
107 WireError::TruncatedMessage => "truncated message", in description()
108 WireError::Other => "other error", in description()
119 &ProtobufError::WireError(..) => None, in cause()
141 ProtobufError::WireError(e) => { in from()
142 io::Error::new(io::ErrorKind::InvalidData, ProtobufError::WireError(e)) in from()