#[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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for EventRecord<'a>
impl<'a> Debug for EventRecord<'a>
Source§impl<'a> PartialEq for EventRecord<'a>
impl<'a> PartialEq for EventRecord<'a>
impl<'a> Eq for EventRecord<'a>
impl<'a> StructuralPartialEq for EventRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for EventRecord<'a>
impl<'a> RefUnwindSafe for EventRecord<'a>
impl<'a> Send for EventRecord<'a>
impl<'a> Sync for EventRecord<'a>
impl<'a> Unpin for EventRecord<'a>
impl<'a> UnwindSafe for EventRecord<'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