Enum serde::de::value::Error [] [src]

pub enum Error {
    SyntaxError,
    EndOfStreamError,
    UnknownFieldError(String),
    MissingFieldError(&'static str),
}

Variants

SyntaxError
EndOfStreamError
UnknownFieldError
MissingFieldError

Trait Implementations

impl Error for Error

fn syntax_error() -> Self

fn end_of_stream_error() -> Self

fn unknown_field_error(field: &str) -> Self

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