pub struct RecordType(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl RecordType
impl RecordType
pub const MMAP: Self
pub const LOST: Self
pub const COMM: Self
pub const EXIT: Self
pub const THROTTLE: Self
pub const UNTHROTTLE: Self
pub const FORK: Self
pub const READ: Self
pub const SAMPLE: Self
pub const MMAP2: Self
pub const AUX: Self
pub const ITRACE_START: Self
pub const LOST_SAMPLES: Self
pub const SWITCH: Self
pub const SWITCH_CPU_WIDE: Self
pub const NAMESPACES: Self
pub const KSYMBOL: Self
pub const BPF_EVENT: Self
pub const CGROUP: Self
pub const TEXT_POKE: Self
pub const AUX_OUTPUT_HW_ID: Self
pub fn is_builtin_type(&self) -> bool
pub fn is_user_type(&self) -> bool
Trait Implementations§
Source§impl Clone for RecordType
impl Clone for RecordType
Source§fn clone(&self) -> RecordType
fn clone(&self) -> RecordType
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 RecordType
impl Debug for RecordType
Source§impl Hash for RecordType
impl Hash for RecordType
Source§impl Ord for RecordType
impl Ord for RecordType
Source§fn cmp(&self, other: &RecordType) -> Ordering
fn cmp(&self, other: &RecordType) -> 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 RecordType
impl PartialEq for RecordType
Source§impl PartialOrd for RecordType
impl PartialOrd for RecordType
impl Copy for RecordType
impl Eq for RecordType
impl StructuralPartialEq for RecordType
Auto Trait Implementations§
impl Freeze for RecordType
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnwindSafe for RecordType
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