Struct libbpf_sys::bpf_prog_attach_opts
source · [−]#[repr(C)]pub struct bpf_prog_attach_opts {
pub sz: size_t,
pub flags: c_uint,
pub replace_prog_fd: c_int,
}
Fields
sz: size_t
flags: c_uint
replace_prog_fd: c_int
Trait Implementations
sourceimpl Clone for bpf_prog_attach_opts
impl Clone for bpf_prog_attach_opts
sourcefn clone(&self) -> bpf_prog_attach_opts
fn clone(&self) -> bpf_prog_attach_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 Debug for bpf_prog_attach_opts
impl Debug for bpf_prog_attach_opts
sourceimpl Default for bpf_prog_attach_opts
impl Default for bpf_prog_attach_opts
sourcefn default() -> bpf_prog_attach_opts
fn default() -> bpf_prog_attach_opts
Returns the “default value” for a type. Read more
impl Copy for bpf_prog_attach_opts
Auto Trait Implementations
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
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