pub struct NoopTrace;Expand description
A TracePort that silently discards every event.
Useful as a default when no trace backend is configured.
Trait Implementations§
Source§impl TracePort for NoopTrace
impl TracePort for NoopTrace
Source§fn task_registered(&self, _event: TaskRegistered)
fn task_registered(&self, _event: TaskRegistered)
Called once when a task is accepted into the system.
Source§fn task_completed(&self, _event: TaskCompleted)
fn task_completed(&self, _event: TaskCompleted)
Called once when a task run concludes successfully.
Source§fn task_failed(&self, _event: TaskFailed)
fn task_failed(&self, _event: TaskFailed)
Called once when a task run concludes with a failure.
Auto Trait Implementations§
impl Freeze for NoopTrace
impl RefUnwindSafe for NoopTrace
impl Send for NoopTrace
impl Sync for NoopTrace
impl Unpin for NoopTrace
impl UnsafeUnpin for NoopTrace
impl UnwindSafe for NoopTrace
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