pub enum SpanSignal {
Started(SpanRecord<SpanStarted>),
Event(SpanEvent),
Ended(SpanRecord<SpanEnded>),
}Expand description
Generic span lifecycle signal used by projectors and telemetry assembly.
Variants§
Started(SpanRecord<SpanStarted>)
Started span record.
Event(SpanEvent)
Point-in-time event on an existing span.
Ended(SpanRecord<SpanEnded>)
Completed span record.
Trait Implementations§
Source§impl Clone for SpanSignal
impl Clone for SpanSignal
Source§fn clone(&self) -> SpanSignal
fn clone(&self) -> SpanSignal
Returns a duplicate of the value. Read more
1.0.0 · 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 SpanSignal
impl Debug for SpanSignal
Source§impl PartialEq for SpanSignal
impl PartialEq for SpanSignal
Source§impl Serialize for SpanSignal
impl Serialize for SpanSignal
impl StructuralPartialEq for SpanSignal
Auto Trait Implementations§
impl Freeze for SpanSignal
impl RefUnwindSafe for SpanSignal
impl Send for SpanSignal
impl Sync for SpanSignal
impl Unpin for SpanSignal
impl UnsafeUnpin for SpanSignal
impl UnwindSafe for SpanSignal
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