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 ParserErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ParserError[src]
impl PartialEq for ParserErrorfn eq(&self, other: &ParserError) -> bool[src]
fn eq(&self, other: &ParserError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl From<ParserError> for DecoderError[src]
impl From<ParserError> for DecoderErrorfn from(err: ParserError) -> DecoderError[src]
fn from(err: ParserError) -> DecoderErrorPerforms the conversion.
impl StdError for ParserError[src]
impl StdError for ParserErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis 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 ParserErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for ParserError[src]
impl From<Error> for ParserErrorfn from(err: Error) -> ParserError[src]
fn from(err: Error) -> ParserErrorPerforms the conversion.
Auto Trait Implementations
impl Send for ParserError
impl Send for ParserErrorimpl Sync for ParserError
impl Sync for ParserError