Union libbpf_sys::bpf_attr [−][src]
#[repr(C)]
pub union bpf_attr {
Show fields
pub __bindgen_anon_1: bpf_attr__bindgen_ty_1,
pub __bindgen_anon_2: bpf_attr__bindgen_ty_2,
pub batch: bpf_attr__bindgen_ty_3,
pub __bindgen_anon_3: bpf_attr__bindgen_ty_4,
pub __bindgen_anon_4: bpf_attr__bindgen_ty_5,
pub __bindgen_anon_5: bpf_attr__bindgen_ty_6,
pub test: bpf_attr__bindgen_ty_7,
pub __bindgen_anon_6: bpf_attr__bindgen_ty_8,
pub info: bpf_attr__bindgen_ty_9,
pub query: bpf_attr__bindgen_ty_10,
pub raw_tracepoint: bpf_attr__bindgen_ty_11,
pub __bindgen_anon_7: bpf_attr__bindgen_ty_12,
pub task_fd_query: bpf_attr__bindgen_ty_13,
pub link_create: bpf_attr__bindgen_ty_14,
pub link_update: bpf_attr__bindgen_ty_15,
pub link_detach: bpf_attr__bindgen_ty_16,
pub enable_stats: bpf_attr__bindgen_ty_17,
pub iter_create: bpf_attr__bindgen_ty_18,
pub prog_bind_map: bpf_attr__bindgen_ty_19,
// some fields omitted
}Fields
__bindgen_anon_1: bpf_attr__bindgen_ty_1__bindgen_anon_2: bpf_attr__bindgen_ty_2batch: bpf_attr__bindgen_ty_3__bindgen_anon_3: bpf_attr__bindgen_ty_4__bindgen_anon_4: bpf_attr__bindgen_ty_5__bindgen_anon_5: bpf_attr__bindgen_ty_6test: bpf_attr__bindgen_ty_7__bindgen_anon_6: bpf_attr__bindgen_ty_8info: bpf_attr__bindgen_ty_9query: bpf_attr__bindgen_ty_10raw_tracepoint: bpf_attr__bindgen_ty_11__bindgen_anon_7: bpf_attr__bindgen_ty_12task_fd_query: bpf_attr__bindgen_ty_13link_create: bpf_attr__bindgen_ty_14link_update: bpf_attr__bindgen_ty_15link_detach: bpf_attr__bindgen_ty_16enable_stats: bpf_attr__bindgen_ty_17iter_create: bpf_attr__bindgen_ty_18prog_bind_map: bpf_attr__bindgen_ty_19Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for bpf_attr
impl Send for bpf_attr
impl Sync for bpf_attr
impl Unpin for bpf_attr
impl UnwindSafe for bpf_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