Struct libbpf_sys::bpf_attr__bindgen_ty_4 [−][src]
#[repr(C)]pub struct bpf_attr__bindgen_ty_4 {}Show fields
pub prog_type: __u32, pub insn_cnt: __u32, pub insns: __u64, pub license: __u64, pub log_level: __u32, pub log_size: __u32, pub log_buf: __u64, pub kern_version: __u32, pub prog_flags: __u32, pub prog_name: [c_char; 16], pub prog_ifindex: __u32, pub expected_attach_type: __u32, pub prog_btf_fd: __u32, pub func_info_rec_size: __u32, pub func_info: __u64, pub func_info_cnt: __u32, pub line_info_rec_size: __u32, pub line_info: __u64, pub line_info_cnt: __u32, pub attach_btf_id: __u32, pub __bindgen_anon_1: bpf_attr__bindgen_ty_4__bindgen_ty_1,
Fields
prog_type: __u32insn_cnt: __u32insns: __u64license: __u64log_level: __u32log_size: __u32log_buf: __u64kern_version: __u32prog_flags: __u32prog_name: [c_char; 16]prog_ifindex: __u32expected_attach_type: __u32prog_btf_fd: __u32func_info_rec_size: __u32func_info: __u64func_info_cnt: __u32line_info_rec_size: __u32line_info: __u64line_info_cnt: __u32attach_btf_id: __u32__bindgen_anon_1: bpf_attr__bindgen_ty_4__bindgen_ty_1Trait Implementations
impl Clone for bpf_attr__bindgen_ty_4[src]
impl Clone for bpf_attr__bindgen_ty_4[src]fn clone(&self) -> bpf_attr__bindgen_ty_4[src]
fn clone(&self) -> bpf_attr__bindgen_ty_4[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_attr__bindgen_ty_4[src]
impl Default for bpf_attr__bindgen_ty_4[src]impl Copy for bpf_attr__bindgen_ty_4[src]
Auto Trait Implementations
impl RefUnwindSafe for bpf_attr__bindgen_ty_4
impl Send for bpf_attr__bindgen_ty_4
impl Sync for bpf_attr__bindgen_ty_4
impl Unpin for bpf_attr__bindgen_ty_4
impl UnwindSafe for bpf_attr__bindgen_ty_4
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