pub enum EventPayload<Time> {
Instant,
Counter {
id: u64,
},
DurationBegin,
DurationEnd,
DurationComplete {
end_timestamp: Time,
},
AsyncBegin {
id: u64,
},
AsyncInstant {
id: u64,
},
AsyncEnd {
id: u64,
},
FlowBegin {
id: u64,
},
FlowStep {
id: u64,
},
FlowEnd {
id: u64,
},
Unknown {
raw_type: u8,
bytes: Vec<u8>,
},
}
Variants§
Instant
Counter
DurationBegin
DurationEnd
DurationComplete
Fields
§
end_timestamp: Time
AsyncBegin
AsyncInstant
AsyncEnd
FlowBegin
FlowStep
FlowEnd
Unknown
Trait Implementations§
Source§impl<Time: Clone> Clone for EventPayload<Time>
impl<Time: Clone> Clone for EventPayload<Time>
Source§fn clone(&self) -> EventPayload<Time>
fn clone(&self) -> EventPayload<Time>
Returns a copy 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<Time: Debug> Debug for EventPayload<Time>
impl<Time: Debug> Debug for EventPayload<Time>
Source§impl<Time: PartialEq> PartialEq for EventPayload<Time>
impl<Time: PartialEq> PartialEq for EventPayload<Time>
impl<Time> StructuralPartialEq for EventPayload<Time>
Auto Trait Implementations§
impl<Time> Freeze for EventPayload<Time>where
Time: Freeze,
impl<Time> RefUnwindSafe for EventPayload<Time>where
Time: RefUnwindSafe,
impl<Time> Send for EventPayload<Time>where
Time: Send,
impl<Time> Sync for EventPayload<Time>where
Time: Sync,
impl<Time> Unpin for EventPayload<Time>where
Time: Unpin,
impl<Time> UnwindSafe for EventPayload<Time>where
Time: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)