[][src]Struct rebpf_sys::libbpf_sys::bpf_prog_load_attr

#[repr(C)]pub struct bpf_prog_load_attr {
    pub file: *const c_char,
    pub prog_type: bpf_prog_type,
    pub expected_attach_type: bpf_attach_type,
    pub ifindex: c_int,
    pub log_level: c_int,
    pub prog_flags: c_int,
}

Fields

file: *const c_charprog_type: bpf_prog_typeexpected_attach_type: bpf_attach_typeifindex: c_intlog_level: c_intprog_flags: c_int

Trait Implementations

impl Clone for bpf_prog_load_attr[src]

impl Copy for bpf_prog_load_attr[src]

impl Debug for bpf_prog_load_attr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.