pub struct HeaderAttr {
pub attr: PerfEventAttr,
pub ids: Vec<u64>,
}Expand description
PERF_RECORD_HEADER_ATTR - Contains event attribute and associated event IDs
Used in pipe mode to transmit event attribute information that would otherwise be in the attrs section of a regular perf.data file.
Fields§
§attr: PerfEventAttr§ids: Vec<u64>Implementations§
Trait Implementations§
Source§impl Clone for HeaderAttr
impl Clone for HeaderAttr
Source§fn clone(&self) -> HeaderAttr
fn clone(&self) -> HeaderAttr
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 moreAuto Trait Implementations§
impl Freeze for HeaderAttr
impl RefUnwindSafe for HeaderAttr
impl Send for HeaderAttr
impl Sync for HeaderAttr
impl Unpin for HeaderAttr
impl UnsafeUnpin for HeaderAttr
impl UnwindSafe for HeaderAttr
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