pub struct LoggedError { /* private fields */ }Expand description
An error that a log line carries, like the error field of a tracing event.
A logging integration only borrows the error while it reads the line, so the line keeps a copy of what an error report needs.
Implementations§
Trait Implementations§
Source§impl Clone for LoggedError
impl Clone for LoggedError
Source§impl Debug for LoggedError
impl Debug for LoggedError
impl Eq for LoggedError
Source§impl PartialEq for LoggedError
impl PartialEq for LoggedError
impl StructuralPartialEq for LoggedError
Auto Trait Implementations§
impl Forget for LoggedError
impl Freeze for LoggedError
impl Move for LoggedError
impl RefUnwindSafe for LoggedError
impl Send for LoggedErrorwhere
RawVecInner: Send,
impl Sync for LoggedErrorwhere
RawVecInner: Sync,
impl Unpin for LoggedError
impl UnsafeUnpin for LoggedErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for LoggedErrorwhere
RawVecInner: UnwindSafe,
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