pub struct MultiTrace { /* private fields */ }Expand description
A TracePort that fans every event out to N downstream TracePorts.
Useful for shipping to both AgilePlus and Tracera simultaneously, or for
augmenting a production backend with a RecordingTrace in tests.
Implementations§
Trait Implementations§
Source§impl Debug for MultiTrace
impl Debug for MultiTrace
Source§impl TracePort for MultiTrace
impl TracePort for MultiTrace
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 !RefUnwindSafe for MultiTrace
impl !UnwindSafe for MultiTrace
impl Freeze for MultiTrace
impl Send for MultiTrace
impl Sync for MultiTrace
impl Unpin for MultiTrace
impl UnsafeUnpin for MultiTrace
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