Enum tracing_chrome::EventOrSpan
source · 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>)
Span(&'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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more