Struct libbpf_sys::bpf_load_program_attr [−][src]
#[repr(C)]pub struct bpf_load_program_attr {}Show fields
pub prog_type: bpf_prog_type, pub expected_attach_type: bpf_attach_type, pub name: *const c_char, pub insns: *const bpf_insn, pub insns_cnt: size_t, pub license: *const c_char, pub __bindgen_anon_1: bpf_load_program_attr__bindgen_ty_1, pub __bindgen_anon_2: bpf_load_program_attr__bindgen_ty_2, pub prog_btf_fd: __u32, pub func_info_rec_size: __u32, pub func_info: *const c_void, pub func_info_cnt: __u32, pub line_info_rec_size: __u32, pub line_info: *const c_void, pub line_info_cnt: __u32, pub log_level: __u32, pub prog_flags: __u32,
Fields
prog_type: bpf_prog_typeexpected_attach_type: bpf_attach_typename: *const c_charinsns: *const bpf_insninsns_cnt: size_tlicense: *const c_char__bindgen_anon_1: bpf_load_program_attr__bindgen_ty_1__bindgen_anon_2: bpf_load_program_attr__bindgen_ty_2prog_btf_fd: __u32func_info_rec_size: __u32func_info: *const c_voidfunc_info_cnt: __u32line_info_rec_size: __u32line_info: *const c_voidline_info_cnt: __u32log_level: __u32prog_flags: __u32Trait Implementations
impl Clone for bpf_load_program_attr[src]
impl Clone for bpf_load_program_attr[src]fn clone(&self) -> bpf_load_program_attr[src]
fn clone(&self) -> bpf_load_program_attr[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Default for bpf_load_program_attr[src]
impl Default for bpf_load_program_attr[src]impl Copy for bpf_load_program_attr[src]
Auto Trait Implementations
impl RefUnwindSafe for bpf_load_program_attr
impl !Send for bpf_load_program_attr
impl !Sync for bpf_load_program_attr
impl Unpin for bpf_load_program_attr
impl UnwindSafe for bpf_load_program_attr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more