Enum failure_ext::SlogKVErrorKey
source · pub enum SlogKVErrorKey {
Error,
RootCause,
Backtrace,
Cause,
ErrorDebug,
}
Expand description
Enum used in slog::Serializer implementation when SlogKVError is used
Variants§
Error
The error that is being logged
RootCause
Root cause of the chain of errors
Backtrace
Backtrace taken when error occured
Cause
One of causes in a chain of errors
ErrorDebug
The error that is being logged, but in debug format
Implementations§
Trait Implementations§
source§impl Clone for SlogKVErrorKey
impl Clone for SlogKVErrorKey
source§fn clone(&self) -> SlogKVErrorKey
fn clone(&self) -> SlogKVErrorKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SlogKVErrorKey
impl Debug for SlogKVErrorKey
source§impl FromStr for SlogKVErrorKey
impl FromStr for SlogKVErrorKey
source§impl PartialEq for SlogKVErrorKey
impl PartialEq for SlogKVErrorKey
source§fn eq(&self, other: &SlogKVErrorKey) -> bool
fn eq(&self, other: &SlogKVErrorKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SlogKVErrorKey
impl StructuralEq for SlogKVErrorKey
impl StructuralPartialEq for SlogKVErrorKey
Auto Trait Implementations§
impl RefUnwindSafe for SlogKVErrorKey
impl Send for SlogKVErrorKey
impl Sync for SlogKVErrorKey
impl Unpin for SlogKVErrorKey
impl UnwindSafe for SlogKVErrorKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more