Enum ron::de::ParseError [−][src]
pub enum ParseError { Base64Error(DecodeError), 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
Base64Error(DecodeError)
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]
impl Clone for ParseError
fn clone(&self) -> ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ParseError
[src]
impl Debug for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ParseError
[src]
impl PartialEq for ParseError
fn eq(&self, other: &ParseError) -> bool
[src]
fn eq(&self, other: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParseError) -> bool
[src]
fn ne(&self, other: &ParseError) -> bool
This method tests for !=
.
impl From<Utf8Error> for ParseError
[src]
impl From<Utf8Error> for ParseError
impl From<FromUtf8Error> for ParseError
[src]
impl From<FromUtf8Error> for ParseError
fn from(e: FromUtf8Error) -> Self
[src]
fn from(e: FromUtf8Error) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError