Enum linux_perf_data::UserRecord
source · #[non_exhaustive]pub enum UserRecord<'a> {
ThreadMap(ThreadMap<'a>),
Raw(RawUserRecord<'a>),
}
Expand description
A record emitted by a user space tool, for example by perf
or by simpleperf
.
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.
ThreadMap(ThreadMap<'a>)
Raw(RawUserRecord<'a>)
Trait Implementations§
source§impl<'a> Clone for UserRecord<'a>
impl<'a> Clone for UserRecord<'a>
source§fn clone(&self) -> UserRecord<'a>
fn clone(&self) -> UserRecord<'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 moreAuto Trait Implementations§
impl<'a> Freeze for UserRecord<'a>
impl<'a> RefUnwindSafe for UserRecord<'a>
impl<'a> Send for UserRecord<'a>
impl<'a> Sync for UserRecord<'a>
impl<'a> Unpin for UserRecord<'a>
impl<'a> UnwindSafe for UserRecord<'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