Struct perf_event_data::BpfEventType
source · pub struct BpfEventType(pub u16);Expand description
Indicates the type of a BpfEvent
Tuple Fields§
§0: u16Implementations§
source§impl BpfEventType
impl BpfEventType
Trait Implementations§
source§impl Clone for BpfEventType
impl Clone for BpfEventType
source§fn clone(&self) -> BpfEventType
fn clone(&self) -> BpfEventType
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 moresource§impl From<BpfEventType> for u16
impl From<BpfEventType> for u16
source§fn from(value: BpfEventType) -> Self
fn from(value: BpfEventType) -> Self
Converts to this type from the input type.
source§impl From<u16> for BpfEventType
impl From<u16> for BpfEventType
source§impl Hash for BpfEventType
impl Hash for BpfEventType
source§impl<'p> Parse<'p> for BpfEventType
impl<'p> Parse<'p> for BpfEventType
source§impl PartialEq for BpfEventType
impl PartialEq for BpfEventType
source§fn eq(&self, other: &BpfEventType) -> bool
fn eq(&self, other: &BpfEventType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for BpfEventType
impl Eq for BpfEventType
impl StructuralEq for BpfEventType
impl StructuralPartialEq for BpfEventType
Auto Trait Implementations§
impl RefUnwindSafe for BpfEventType
impl Send for BpfEventType
impl Sync for BpfEventType
impl Unpin for BpfEventType
impl UnwindSafe for BpfEventType
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