Enum tracing_chrome::EventOrSpan [−][src]
pub enum EventOrSpan<'a, 'b, S> where
S: Subscriber + for<'span> LookupSpan<'span> + Send + Sync, {
Event(&'a Event<'b>),
Span(&'a SpanRef<'b, S>),
}
Variants
Event(&'a Event<'b>)
Tuple Fields of Event
0: &'a Event<'b>
Span(&'a SpanRef<'b, S>)
Tuple Fields of Span
0: &'a SpanRef<'b, S>
Auto Trait Implementations
impl<'a, 'b, S> !RefUnwindSafe for EventOrSpan<'a, 'b, S>
impl<'a, 'b, S> !Send for EventOrSpan<'a, 'b, S>
impl<'a, 'b, S> !Sync for EventOrSpan<'a, 'b, S>
impl<'a, 'b, S> Unpin for EventOrSpan<'a, 'b, S> where
'b: 'a,
impl<'a, 'b, S> !UnwindSafe for EventOrSpan<'a, 'b, S>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more