Enum binprot::Error [−][src]
pub enum Error {
IoError(Error),
UnexpectedVariantIndex {
index: u8,
ident: &'static str,
},
UnexpectedPolymorphicVariantIndex {
index: i32,
ident: &'static str,
},
UnexpectedValueForUnit(u8),
UnexpectedValueForBool(u8),
UnexpectedValueForOption(u8),
Utf8Error(Utf8Error),
SameKeyAppearsTwiceInMap,
TryFromIntError(TryFromIntError),
CustomError(Box<dyn Error + Sync + Send>),
}
Variants
IoError(Error)
Tuple Fields
0: Error
UnexpectedVariantIndex
UnexpectedPolymorphicVariantIndex
UnexpectedValueForUnit(u8)
Tuple Fields
0: u8
UnexpectedValueForBool(u8)
Tuple Fields
0: u8
UnexpectedValueForOption(u8)
Tuple Fields
0: u8
Utf8Error(Utf8Error)
Tuple Fields
0: Utf8Error
SameKeyAppearsTwiceInMap
TryFromIntError(TryFromIntError)
Tuple Fields
CustomError(Box<dyn Error + Sync + Send>)
For errors raised by custom decoders.
Trait Implementations
Performs the conversion.