pub struct TraceError {
pub key: &'static str,
pub detail: String,
}Expand description
A trace that cannot be read or replayed; key is a translation key, detail its argument.
Fields§
§key: &'static str§detail: StringTrait Implementations§
Source§impl Clone for TraceError
impl Clone for TraceError
Source§fn clone(&self) -> TraceError
fn clone(&self) -> TraceError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TraceError
impl Debug for TraceError
Source§impl From<ConfigError> for TraceError
impl From<ConfigError> for TraceError
Source§fn from(e: ConfigError) -> Self
fn from(e: ConfigError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TraceError
impl PartialEq for TraceError
Source§fn eq(&self, other: &TraceError) -> bool
fn eq(&self, other: &TraceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TraceError
Auto Trait Implementations§
impl Freeze for TraceError
impl RefUnwindSafe for TraceError
impl Send for TraceError
impl Sync for TraceError
impl Unpin for TraceError
impl UnsafeUnpin for TraceError
impl UnwindSafe for TraceError
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