pub struct PreLoadBpfSkeleton { /* private fields */ }
Expand description
Represents an initialized bpf skeleton. It’s waiting for the loading and attaching of bpf programs
Implementations§
Source§impl PreLoadBpfSkeleton
impl PreLoadBpfSkeleton
Sourcepub fn load_and_attach(self) -> Result<BpfSkeleton>
pub fn load_and_attach(self) -> Result<BpfSkeleton>
start running the ebpf program load and attach the ebpf program to the kernel to run the ebpf program if the ebpf program has maps to export to user space, you need to call the wait and export.
Auto Trait Implementations§
impl Freeze for PreLoadBpfSkeleton
impl RefUnwindSafe for PreLoadBpfSkeleton
impl !Send for PreLoadBpfSkeleton
impl !Sync for PreLoadBpfSkeleton
impl Unpin for PreLoadBpfSkeleton
impl UnwindSafe for PreLoadBpfSkeleton
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