Enum json_io::Error [] [src]

pub enum Error {
    IO(Error),
    Utf8(Utf8Error),
    Json(Error),
}

Represents the different kinds of errors returned by Librar.

Variants

Some std::io Error.

Occurs when trying to create a str from a slice of supposedly Utf8 bytes.

This type represents all possible errors that can occur when serializing or deserializing a value into JSON (returned by the serde_json crate).

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.