pub struct LogCallError<'a> {
pub context: LogContext<'a>,
pub elapsed: Duration,
pub error: &'a ProviderError,
}Expand description
Event emitted on failure.
Fields§
§context: LogContext<'a>Common identity / call shape.
elapsed: DurationWall-clock duration from log_call_start to error return.
error: &'a ProviderErrorThe error that was returned.
Trait Implementations§
Source§impl<'a> Clone for LogCallError<'a>
impl<'a> Clone for LogCallError<'a>
Source§fn clone(&self) -> LogCallError<'a>
fn clone(&self) -> LogCallError<'a>
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<'a> Debug for LogCallError<'a>
impl<'a> Debug for LogCallError<'a>
impl<'a> Copy for LogCallError<'a>
Auto Trait Implementations§
impl<'a> Freeze for LogCallError<'a>
impl<'a> !RefUnwindSafe for LogCallError<'a>
impl<'a> Send for LogCallError<'a>
impl<'a> Sync for LogCallError<'a>
impl<'a> Unpin for LogCallError<'a>
impl<'a> UnsafeUnpin for LogCallError<'a>
impl<'a> !UnwindSafe for LogCallError<'a>
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