Struct libbpf_rs::PerfBuffer
source · pub struct PerfBuffer<'b> { /* private fields */ }
Expand description
Implementations§
source§impl PerfBuffer<'_>
impl PerfBuffer<'_>
Trait Implementations§
source§impl AsRawLibbpf for PerfBuffer<'_>
impl AsRawLibbpf for PerfBuffer<'_>
source§fn as_libbpf_object(&self) -> NonNull<Self::LibbpfType>
fn as_libbpf_object(&self) -> NonNull<Self::LibbpfType>
Retrieve the underlying libbpf_sys::perf_buffer
.
§type LibbpfType = perf_buffer
type LibbpfType = perf_buffer
The underlying
libbpf
type.source§impl<'b> Debug for PerfBuffer<'b>
impl<'b> Debug for PerfBuffer<'b>
source§impl Drop for PerfBuffer<'_>
impl Drop for PerfBuffer<'_>
impl Send for PerfBuffer<'_>
Auto Trait Implementations§
impl<'b> Freeze for PerfBuffer<'b>
impl<'b> !RefUnwindSafe for PerfBuffer<'b>
impl<'b> !Sync for PerfBuffer<'b>
impl<'b> Unpin for PerfBuffer<'b>
impl<'b> !UnwindSafe for PerfBuffer<'b>
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