Struct slog::ser::Error []

pub struct Error(pub ErrorKind, pub (Option<Box<Error + Send>>, Arc<Backtrace>));

Methods

impl Error

fn kind(&self) -> &ErrorKind

fn into_kind(self) -> ErrorKind

fn iter(&self) -> ErrorChainIter

fn backtrace(&self) -> &Backtrace

Trait Implementations

impl Debug for Error

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

Formats the value using the given formatter.

impl Error for Error

fn description(&self) -> &str

A short description of the error. Read more

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

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

impl Display for Error

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

Formats the value using the given formatter.

impl From<Error> for Error

fn from(e: Error) -> Self

Performs the conversion.

impl From<ErrorKind> for Error

fn from(e: ErrorKind) -> Self

Performs the conversion.

impl<'a> From<&'a str> for Error

fn from(s: &'a str) -> Self

Performs the conversion.

impl From<String> for Error

fn from(s: String) -> Self

Performs the conversion.