pub struct Event<'a> {
pub name: Cow<'a, str>,
pub kind: EventKind,
pub metadata: Metadata,
}
Expand description
An event to trace.
Fields§
§name: Cow<'a, str>
The name of the Event.
kind: EventKind
The type of Event which occurred.
metadata: Metadata
Metadata attached to the event.
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
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