Enum aws_smithy_json::deserialize::ErrorReason [−][src]
pub enum ErrorReason {
Custom(Cow<'static, str>),
ExpectedLiteral(String),
InvalidEscape(char),
InvalidNumber,
InvalidUtf8,
UnescapeFailed(EscapeError),
UnexpectedControlCharacter(u8),
UnexpectedEos,
UnexpectedToken(char, &'static str),
}
Variants
ExpectedLiteral(String)
Tuple Fields of ExpectedLiteral
0: String
InvalidEscape(char)
Tuple Fields of InvalidEscape
0: char
UnescapeFailed(EscapeError)
Tuple Fields of UnescapeFailed
0: EscapeError
UnexpectedControlCharacter(u8)
Tuple Fields of UnexpectedControlCharacter
0: u8
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.