#[repr(C)]pub struct bpf_prog_attach_opts {
pub sz: size_t,
pub flags: __u32,
pub __bindgen_anon_1: bpf_prog_attach_opts__bindgen_ty_1,
pub relative_fd: c_int,
pub relative_id: __u32,
pub expected_revision: __u64,
}
Fields§
§sz: size_t
§flags: __u32
§__bindgen_anon_1: bpf_prog_attach_opts__bindgen_ty_1
§relative_fd: c_int
§relative_id: __u32
§expected_revision: __u64
Trait Implementations§
Source§impl Clone for bpf_prog_attach_opts
impl Clone for bpf_prog_attach_opts
Source§fn clone(&self) -> bpf_prog_attach_opts
fn clone(&self) -> bpf_prog_attach_opts
Returns a copy 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 Default for bpf_prog_attach_opts
impl Default for bpf_prog_attach_opts
impl Copy for bpf_prog_attach_opts
Auto Trait Implementations§
impl Freeze for bpf_prog_attach_opts
impl RefUnwindSafe for bpf_prog_attach_opts
impl Send for bpf_prog_attach_opts
impl Sync for bpf_prog_attach_opts
impl Unpin for bpf_prog_attach_opts
impl UnwindSafe for bpf_prog_attach_opts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)