Struct libbpf_sys::bpf_kprobe_opts
source · #[repr(C)]pub struct bpf_kprobe_opts {
pub sz: size_t,
pub bpf_cookie: __u64,
pub offset: size_t,
pub retprobe: bool,
pub __bindgen_padding_0: [u8; 3],
pub attach_mode: probe_attach_mode,
}
Fields§
§sz: size_t
§offset: size_t
§retprobe: bool
§__bindgen_padding_0: [u8; 3]
§attach_mode: probe_attach_mode
Trait Implementations§
source§impl Clone for bpf_kprobe_opts
impl Clone for bpf_kprobe_opts
source§fn clone(&self) -> bpf_kprobe_opts
fn clone(&self) -> bpf_kprobe_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 Debug for bpf_kprobe_opts
impl Debug for bpf_kprobe_opts
source§impl Default for bpf_kprobe_opts
impl Default for bpf_kprobe_opts
impl Copy for bpf_kprobe_opts
Auto Trait Implementations§
impl Freeze for bpf_kprobe_opts
impl RefUnwindSafe for bpf_kprobe_opts
impl Send for bpf_kprobe_opts
impl Sync for bpf_kprobe_opts
impl Unpin for bpf_kprobe_opts
impl UnwindSafe for bpf_kprobe_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