Struct libbpf_sys::bpf_object_open_attr
source · [−]#[repr(C)]pub struct bpf_object_open_attr {
pub file: *const c_char,
pub prog_type: bpf_prog_type,
pub __bindgen_padding_0: [u8; 4],
}
Fields
file: *const c_char
prog_type: bpf_prog_type
__bindgen_padding_0: [u8; 4]
Trait Implementations
sourceimpl Clone for bpf_object_open_attr
impl Clone for bpf_object_open_attr
sourcefn clone(&self) -> bpf_object_open_attr
fn clone(&self) -> bpf_object_open_attr
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_object_open_attr
impl Debug for bpf_object_open_attr
sourceimpl Default for bpf_object_open_attr
impl Default for bpf_object_open_attr
impl Copy for bpf_object_open_attr
Auto Trait Implementations
impl RefUnwindSafe for bpf_object_open_attr
impl !Send for bpf_object_open_attr
impl !Sync for bpf_object_open_attr
impl Unpin for bpf_object_open_attr
impl UnwindSafe for bpf_object_open_attr
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