Enum serde::json::error::Error [] [src]

pub enum Error {
    SyntaxError(ErrorCode, usize, usize),
    IoError(Error),
    MissingFieldError(&'static str),
}

Variants

SyntaxError

msg, line, col

IoError
MissingFieldError

Trait Implementations

impl Error for Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for Error

fn fmt(&self, fmt: &mut Formatter) -> Result

impl From<Error> for Error

fn from(error: Error) -> Error

impl From<Error> for Error

fn from(error: Error) -> Error

impl Error for Error

fn syntax_error() -> Error

fn end_of_stream_error() -> Error

fn unknown_field_error(field: &str) -> Error

fn missing_field_error(field: &'static str) -> Error

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result