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: StringMessage(String)Tuple Fields of Message
0: StringBase64Error(DecodeError)Tuple Fields of Base64Error
0: DecodeErrorInvalidEscape(&'static str)Tuple Fields of InvalidEscape
0: &'static strNoSuchExtension(String)Tuple Fields of NoSuchExtension
0: StringUnexpectedByte(char)Tuple Fields of UnexpectedByte
0: charUtf8Error(Utf8Error)Tuple Fields of Utf8Error
0: Utf8ErrorTrait 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