Struct bpf_feature::bpf::Bpf
source · [−]pub struct Bpf {
pub has_bpf_syscall: bool,
pub program_types: HashMap<ProgramType, Result<bool, BpfError>>,
pub map_types: HashMap<MapType, Result<bool, BpfError>>,
pub helpers: HashMap<ProgramType, Vec<Result<BpfHelper, BpfError>>>,
}
Fields
has_bpf_syscall: bool
program_types: HashMap<ProgramType, Result<bool, BpfError>>
map_types: HashMap<MapType, Result<bool, BpfError>>
helpers: HashMap<ProgramType, Vec<Result<BpfHelper, BpfError>>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Bpf
impl Send for Bpf
impl Sync for Bpf
impl Unpin for Bpf
impl UnwindSafe for Bpf
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