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 more