pub enum EventPayload {
ContextSwitch(ContextSwitchEvent),
Span(TraceSpanEvent),
}Expand description
Strongly-typed payload for defined event types.
Variants§
Trait Implementations§
Source§impl Clone for EventPayload
impl Clone for EventPayload
impl Copy for EventPayload
Source§impl Debug for EventPayload
impl Debug for EventPayload
impl Eq for EventPayload
Source§impl PartialEq for EventPayload
impl PartialEq for EventPayload
impl StructuralPartialEq for EventPayload
Auto Trait Implementations§
impl Forget for EventPayload
impl Freeze for EventPayload
impl Move for EventPayload
impl RefUnwindSafe for EventPayload
impl Send for EventPayload
impl Sync for EventPayload
impl Unpin for EventPayload
impl UnsafeUnpin for EventPayload
impl UnwindSafe for EventPayload
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)