#[repr(C)]pub struct bpf_attr__bindgen_ty_3 {
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,
}Fields§
§prog_type: __u32§insn_cnt: __u32§insns: __u64§license: __u64§log_level: __u32§log_size: __u32§log_buf: __u64§kern_version: __u32§prog_flags: __u32§prog_name: [c_char; 16]§prog_ifindex: __u32§expected_attach_type: __u32Trait Implementations§
Source§impl Clone for bpf_attr__bindgen_ty_3
impl Clone for bpf_attr__bindgen_ty_3
Source§fn clone(&self) -> bpf_attr__bindgen_ty_3
fn clone(&self) -> bpf_attr__bindgen_ty_3
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for bpf_attr__bindgen_ty_3
impl Debug for bpf_attr__bindgen_ty_3
Source§impl Default for bpf_attr__bindgen_ty_3
impl Default for bpf_attr__bindgen_ty_3
Source§fn default() -> bpf_attr__bindgen_ty_3
fn default() -> bpf_attr__bindgen_ty_3
Returns the “default value” for a type. Read more
Source§impl Hash for bpf_attr__bindgen_ty_3
impl Hash for bpf_attr__bindgen_ty_3
Source§impl Ord for bpf_attr__bindgen_ty_3
impl Ord for bpf_attr__bindgen_ty_3
Source§fn cmp(&self, other: &bpf_attr__bindgen_ty_3) -> Ordering
fn cmp(&self, other: &bpf_attr__bindgen_ty_3) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for bpf_attr__bindgen_ty_3
impl PartialEq for bpf_attr__bindgen_ty_3
Source§impl PartialOrd for bpf_attr__bindgen_ty_3
impl PartialOrd for bpf_attr__bindgen_ty_3
impl Copy for bpf_attr__bindgen_ty_3
impl Eq for bpf_attr__bindgen_ty_3
impl StructuralPartialEq for bpf_attr__bindgen_ty_3
Auto Trait Implementations§
impl Freeze for bpf_attr__bindgen_ty_3
impl RefUnwindSafe for bpf_attr__bindgen_ty_3
impl Send for bpf_attr__bindgen_ty_3
impl Sync for bpf_attr__bindgen_ty_3
impl Unpin for bpf_attr__bindgen_ty_3
impl UnwindSafe for bpf_attr__bindgen_ty_3
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