Struct libbpf_sys::bpf_link_create_opts
source · [−]#[repr(C)]pub struct bpf_link_create_opts {
pub sz: size_t,
pub flags: __u32,
pub __bindgen_padding_0: [u8; 4],
pub iter_info: *mut bpf_iter_link_info,
pub iter_info_len: __u32,
pub target_btf_id: __u32,
pub __bindgen_anon_1: bpf_link_create_opts__bindgen_ty_1,
}
Fields
sz: size_t
flags: __u32
__bindgen_padding_0: [u8; 4]
iter_info: *mut bpf_iter_link_info
iter_info_len: __u32
target_btf_id: __u32
__bindgen_anon_1: bpf_link_create_opts__bindgen_ty_1
Trait Implementations
sourceimpl Clone for bpf_link_create_opts
impl Clone for bpf_link_create_opts
sourcefn clone(&self) -> bpf_link_create_opts
fn clone(&self) -> bpf_link_create_opts
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 moresourceimpl Default for bpf_link_create_opts
impl Default for bpf_link_create_opts
impl Copy for bpf_link_create_opts
Auto Trait Implementations
impl RefUnwindSafe for bpf_link_create_opts
impl !Send for bpf_link_create_opts
impl !Sync for bpf_link_create_opts
impl Unpin for bpf_link_create_opts
impl UnwindSafe for bpf_link_create_opts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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