pub struct OpenBpfSkel<'obj> {
obj: OwnedRef<'obj, OpenObject>,
pub maps: OpenBpfMaps<'obj>,
pub progs: OpenBpfProgs<'obj>,
pub struct_ops: StructOps,
skel_config: ObjectSkeletonConfig<'obj>,
}Fields§
§obj: OwnedRef<'obj, OpenObject>§maps: OpenBpfMaps<'obj>§progs: OpenBpfProgs<'obj>§struct_ops: StructOps§skel_config: ObjectSkeletonConfig<'obj>Trait Implementations§
Source§impl<'obj> OpenSkel<'obj> for OpenBpfSkel<'obj>
impl<'obj> OpenSkel<'obj> for OpenBpfSkel<'obj>
Source§type Output = BpfSkel<'obj>
type Output = BpfSkel<'obj>
Define that when BPF object is loaded, the returned type should implement the [
Skel] traitSource§fn open_object(&self) -> &OpenObject
fn open_object(&self) -> &OpenObject
Get a reference to [
OpenObject].Source§fn open_object_mut(&mut self) -> &mut OpenObject
fn open_object_mut(&mut self) -> &mut OpenObject
Get a mutable reference to [
OpenObject].Auto Trait Implementations§
impl<'obj> !Send for OpenBpfSkel<'obj>
impl<'obj> !Sync for OpenBpfSkel<'obj>
impl<'obj> !UnwindSafe for OpenBpfSkel<'obj>
impl<'obj> Freeze for OpenBpfSkel<'obj>
impl<'obj> RefUnwindSafe for OpenBpfSkel<'obj>
impl<'obj> Unpin for OpenBpfSkel<'obj>
impl<'obj> UnsafeUnpin for OpenBpfSkel<'obj>
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