Enum quick_protobuf::errors::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
Io(Error),
Utf8(FromUtf8Error),
StrUtf8(Utf8Error),
Deprecated(&'static str),
UnknownWireType(u8),
Varint,
Eof,
ParseMessage(String),
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
Io(Error)Utf8(FromUtf8Error)StrUtf8(Utf8Error)Deprecated(&'static str)UnknownWireType(u8)VarintEofParseMessage(String)Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.