Enum json_io::Error
[−]
[src]
pub enum Error { IO(Error), Utf8(Utf8Error), Json(Error), }
Represents the different kinds of errors returned by Librar.
Variants
IO(Error)
Some std::io Error.
Utf8(Utf8Error)
Occurs when trying to create a str
from a slice of supposedly Utf8 bytes.
Json(Error)
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]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more