pub struct TraceraTrace { /* private fields */ }Expand description
A TracePort that POSTs events to the Tracera API.
The endpoint base URL is read from the TRACERA_ENDPOINT env var at
construction time. HTTP errors are silently swallowed.
Implementations§
Source§impl TraceraTrace
impl TraceraTrace
Trait Implementations§
Source§impl Clone for TraceraTrace
impl Clone for TraceraTrace
Source§fn clone(&self) -> TraceraTrace
fn clone(&self) -> TraceraTrace
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 TraceraTrace
impl Debug for TraceraTrace
Source§impl TracePort for TraceraTrace
impl TracePort for TraceraTrace
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 TraceraTrace
impl !UnwindSafe for TraceraTrace
impl Freeze for TraceraTrace
impl Send for TraceraTrace
impl Sync for TraceraTrace
impl Unpin for TraceraTrace
impl UnsafeUnpin for TraceraTrace
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