Enum ron::error::ErrorCode [−][src]
pub enum ErrorCode {
Show 32 variants
Io(String),
Message(String),
Base64Error(DecodeError),
Eof,
ExpectedArray,
ExpectedArrayEnd,
ExpectedAttribute,
ExpectedAttributeEnd,
ExpectedBoolean,
ExpectedComma,
ExpectedChar,
ExpectedFloat,
ExpectedInteger,
ExpectedOption,
ExpectedOptionEnd,
ExpectedMap,
ExpectedMapColon,
ExpectedMapEnd,
ExpectedStruct,
ExpectedStructEnd,
ExpectedUnit,
ExpectedString,
ExpectedStringEnd,
ExpectedIdentifier,
InvalidEscape(&'static str),
IntegerOutOfBounds,
NoSuchExtension(String),
UnclosedBlockComment,
UnderscoreAtBeginning,
UnexpectedByte(char),
Utf8Error(Utf8Error),
TrailingCharacters,
// some variants omitted
}
Variants
Io(String)
Tuple Fields of Io
0: String
Message(String)
Tuple Fields of Message
0: String
Base64Error(DecodeError)
Tuple Fields of Base64Error
0: DecodeError
InvalidEscape(&'static str)
Tuple Fields of InvalidEscape
0: &'static str
NoSuchExtension(String)
Tuple Fields of NoSuchExtension
0: String
UnexpectedByte(char)
Tuple Fields of UnexpectedByte
0: char
Utf8Error(Utf8Error)
Tuple Fields of Utf8Error
0: Utf8Error
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
Mutably borrows from an owned value. Read more