Struct libbpf_sys::bpf_attr__bindgen_ty_7
source · [−]#[repr(C)]pub struct bpf_attr__bindgen_ty_7 {Show 14 fields
pub prog_fd: __u32,
pub retval: __u32,
pub data_size_in: __u32,
pub data_size_out: __u32,
pub data_in: __u64,
pub data_out: __u64,
pub repeat: __u32,
pub duration: __u32,
pub ctx_size_in: __u32,
pub ctx_size_out: __u32,
pub ctx_in: __u64,
pub ctx_out: __u64,
pub flags: __u32,
pub cpu: __u32,
}
Fields
prog_fd: __u32
retval: __u32
data_size_in: __u32
data_size_out: __u32
data_in: __u64
data_out: __u64
repeat: __u32
duration: __u32
ctx_size_in: __u32
ctx_size_out: __u32
ctx_in: __u64
ctx_out: __u64
flags: __u32
cpu: __u32
Trait Implementations
sourceimpl Clone for bpf_attr__bindgen_ty_7
impl Clone for bpf_attr__bindgen_ty_7
sourcefn clone(&self) -> bpf_attr__bindgen_ty_7
fn clone(&self) -> bpf_attr__bindgen_ty_7
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for bpf_attr__bindgen_ty_7
impl Debug for bpf_attr__bindgen_ty_7
sourceimpl Default for bpf_attr__bindgen_ty_7
impl Default for bpf_attr__bindgen_ty_7
sourcefn default() -> bpf_attr__bindgen_ty_7
fn default() -> bpf_attr__bindgen_ty_7
Returns the “default value” for a type. Read more
impl Copy for bpf_attr__bindgen_ty_7
Auto Trait Implementations
impl RefUnwindSafe for bpf_attr__bindgen_ty_7
impl Send for bpf_attr__bindgen_ty_7
impl Sync for bpf_attr__bindgen_ty_7
impl Unpin for bpf_attr__bindgen_ty_7
impl UnwindSafe for bpf_attr__bindgen_ty_7
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more