pub struct PerfEventArray<T> { /* private fields */ }Implementations§
Source§impl<T> PerfEventArray<T>
impl<T> PerfEventArray<T>
pub const fn new(flags: u32) -> PerfEventArray<T>
pub const fn pinned(flags: u32) -> PerfEventArray<T>
pub fn output<C: EbpfContext>(&self, ctx: &C, data: &T, flags: u32)
pub fn output_at_index<C: EbpfContext>( &self, ctx: &C, index: u32, data: &T, flags: u32, )
Trait Implementations§
impl<T: Sync> Sync for PerfEventArray<T>
Auto Trait Implementations§
impl<T> !Freeze for PerfEventArray<T>
impl<T> !RefUnwindSafe for PerfEventArray<T>
impl<T> Send for PerfEventArray<T>where
T: Send,
impl<T> Unpin for PerfEventArray<T>where
T: Unpin,
impl<T> UnwindSafe for PerfEventArray<T>where
T: UnwindSafe,
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