Enum ron::de::ParseError
[−]
[src]
pub enum ParseError { Eof, ExpectedArray, ExpectedArrayEnd, ExpectedAttribute, ExpectedAttributeEnd, ExpectedBoolean, ExpectedComma, ExpectedEnum, ExpectedChar, ExpectedFloat, ExpectedInteger, ExpectedOption, ExpectedOptionEnd, ExpectedMap, ExpectedMapColon, ExpectedMapEnd, ExpectedStruct, ExpectedStructEnd, ExpectedUnit, ExpectedStructName, ExpectedString, ExpectedStringEnd, ExpectedIdentifier, InvalidEscape(&'static str), NoSuchExtension(String), UnclosedBlockComment, UnexpectedByte(char), Utf8Error(Utf8Error), TrailingCharacters, // some variants omitted }
Variants
Eof
ExpectedArray
ExpectedArrayEnd
ExpectedAttribute
ExpectedAttributeEnd
ExpectedBoolean
ExpectedComma
ExpectedEnum
ExpectedChar
ExpectedFloat
ExpectedInteger
ExpectedOption
ExpectedOptionEnd
ExpectedMap
ExpectedMapColon
ExpectedMapEnd
ExpectedStruct
ExpectedStructEnd
ExpectedUnit
ExpectedStructName
ExpectedString
ExpectedStringEnd
ExpectedIdentifier
InvalidEscape(&'static str)
NoSuchExtension(String)
UnclosedBlockComment
UnexpectedByte(char)
Utf8Error(Utf8Error)
TrailingCharacters
Trait Implementations
impl Clone for ParseError
[src]
fn clone(&self) -> ParseError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ParseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for !=
.
impl From<Utf8Error> for ParseError
[src]
impl From<FromUtf8Error> for ParseError
[src]
fn from(e: FromUtf8Error) -> Self
[src]
Performs the conversion.