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
sourceimpl<'a> Clone for UserRecord<'a>
impl<'a> Clone for UserRecord<'a>
sourcefn clone(&self) -> UserRecord<'a>
fn clone(&self) -> UserRecord<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more