#[non_exhaustive]
pub enum EventRecord<'a> {
Sample(SampleRecord<'a>),
Comm(CommOrExecRecord<'a>),
Exit(ForkOrExitRecord),
Fork(ForkOrExitRecord),
Mmap(MmapRecord<'a>),
Mmap2(Mmap2Record<'a>),
Lost(LostRecord),
Throttle(ThrottleRecord),
Unthrottle(ThrottleRecord),
ContextSwitch(ContextSwitchRecord),
Raw(RawEventRecord<'a>),
}
Expand description
A fully parsed event record.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sample(SampleRecord<'a>)
Comm(CommOrExecRecord<'a>)
Exit(ForkOrExitRecord)
Fork(ForkOrExitRecord)
Mmap(MmapRecord<'a>)
Mmap2(Mmap2Record<'a>)
Lost(LostRecord)
Throttle(ThrottleRecord)
Unthrottle(ThrottleRecord)
ContextSwitch(ContextSwitchRecord)
Raw(RawEventRecord<'a>)
Trait Implementations§
source§impl<'a> Clone for EventRecord<'a>
impl<'a> Clone for EventRecord<'a>
source§fn clone(&self) -> EventRecord<'a>
fn clone(&self) -> EventRecord<'a>
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 more