Enum rustc_serialize::json::ParserError [−][src]
Variants
SyntaxError(ErrorCode, usize, usize)
msg, line, col
IoError(Error)
Trait Implementations
impl Debug for ParserError
[src]
impl Debug for ParserError
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 ParserError
[src]
impl PartialEq for ParserError
fn eq(&self, other: &ParserError) -> bool
[src]
fn eq(&self, other: &ParserError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<ParserError> for DecoderError
[src]
impl From<ParserError> for DecoderError
fn from(err: ParserError) -> DecoderError
[src]
fn from(err: ParserError) -> DecoderError
Performs the conversion.
impl StdError for ParserError
[src]
impl StdError for ParserError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for ParserError
[src]
impl Display for ParserError
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 From<Error> for ParserError
[src]
impl From<Error> for ParserError
fn from(err: Error) -> ParserError
[src]
fn from(err: Error) -> ParserError
Performs the conversion.
Auto Trait Implementations
impl Send for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Sync for ParserError