# Enum rustc_serialize::json::ParserError [−] [src]

    pub enum ParserError {
        SyntaxError(ErrorCode, usize, usize),
        IoError(Error),
    }

## Variants

`SyntaxError(ErrorCode, usize, usize)`

msg, line, col

`IoError(Error)`

## Trait Implementations

### `impl Debug for ParserError`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl PartialEq for ParserError`
[src]

#### `fn eq(&self, other: &ParserError) -> bool`
[src]

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]

This method tests for `!=`.

### `impl From<ParserError> for DecoderError`
[src]

#### `fn from(err: ParserError) -> DecoderError`
[src]

Performs the conversion.

### `impl StdError for ParserError`
[src]

#### `fn description(&self) -> &str`
[src]

A short description of the error. Read more

#### `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]

#### `fn fmt(&self, f: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl From<Error> for ParserError`
[src]

#### `fn from(err: Error) -> ParserError`
[src]

Performs the conversion.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)