pub struct UserRecordType(/* private fields */);Expand description
A newtype wrapping RecordType values for which RecordType::is_user_type() returns true.
Implementations§
Source§impl UserRecordType
impl UserRecordType
pub const PERF_HEADER_ATTR: Self
pub const PERF_HEADER_EVENT_TYPE: Self
pub const PERF_HEADER_TRACING_DATA: Self
pub const PERF_HEADER_BUILD_ID: Self
pub const PERF_FINISHED_ROUND: Self
pub const PERF_ID_INDEX: Self
pub const PERF_AUXTRACE_INFO: Self
pub const PERF_AUXTRACE: Self
pub const PERF_AUXTRACE_ERROR: Self
pub const PERF_THREAD_MAP: Self
pub const PERF_CPU_MAP: Self
pub const PERF_STAT_CONFIG: Self
pub const PERF_STAT: Self
pub const PERF_STAT_ROUND: Self
pub const PERF_EVENT_UPDATE: Self
pub const PERF_TIME_CONV: Self
pub const PERF_HEADER_FEATURE: Self
pub const PERF_COMPRESSED: Self
pub const SIMPLEPERF_KERNEL_SYMBOL: Self
pub const SIMPLEPERF_DSO: Self
pub const SIMPLEPERF_SYMBOL: Self
pub const SIMPLEPERF_SPLIT: Self
pub const SIMPLEPERF_SPLIT_END: Self
pub const SIMPLEPERF_EVENT_ID: Self
pub const SIMPLEPERF_CALLCHAIN: Self
pub const SIMPLEPERF_UNWINDING_RESULT: Self
pub const SIMPLEPERF_TRACING_DATA: Self
pub fn try_from(record_type: RecordType) -> Option<Self>
pub fn record_type(&self) -> RecordType
Trait Implementations§
Source§impl Clone for UserRecordType
impl Clone for UserRecordType
Source§fn clone(&self) -> UserRecordType
fn clone(&self) -> UserRecordType
Returns a duplicate 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 moreSource§impl Debug for UserRecordType
impl Debug for UserRecordType
Source§impl From<UserRecordType> for RecordType
impl From<UserRecordType> for RecordType
Source§fn from(record_type: UserRecordType) -> Self
fn from(record_type: UserRecordType) -> Self
Converts to this type from the input type.
Source§impl Hash for UserRecordType
impl Hash for UserRecordType
Source§impl Ord for UserRecordType
impl Ord for UserRecordType
Source§fn cmp(&self, other: &UserRecordType) -> Ordering
fn cmp(&self, other: &UserRecordType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserRecordType
impl PartialEq for UserRecordType
Source§impl PartialOrd for UserRecordType
impl PartialOrd for UserRecordType
impl Copy for UserRecordType
impl Eq for UserRecordType
impl StructuralPartialEq for UserRecordType
Auto Trait Implementations§
impl Freeze for UserRecordType
impl RefUnwindSafe for UserRecordType
impl Send for UserRecordType
impl Sync for UserRecordType
impl Unpin for UserRecordType
impl UnwindSafe for UserRecordType
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