Enum rustc_serialize::json::ParserError
[-] [+]
[src]
pub enum ParserError { SyntaxError(ErrorCode, usize, usize), IoError(Error), }
Variants
SyntaxError | msg, line, col |
IoError |
pub enum ParserError { SyntaxError(ErrorCode, usize, usize), IoError(Error), }
SyntaxError | msg, line, col |
IoError |
impl PartialEq for ParserError
fn eq(&self, other: &ParserError) -> bool
fn ne(&self, other: &Rhs) -> bool
impl StdError for ParserError
fn description(&self) -> &str
fn cause(&self) -> Option<&Error>
impl Display for ParserError
impl From<Error> for ParserError
fn from(err: Error) -> ParserError
impl Debug for ParserError
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
, typedef
(or
tdef
).