Trait ebpf_user::BpfApp[][src]

pub trait BpfApp {
    const MAP_CNT: usize;
    const PROG_CNT: usize;

    fn instance() -> Self;
fn as_mut_map(&mut self, index: usize) -> Option<&mut MapRef>;
fn as_mut_prog(&mut self, index: usize) -> Option<&mut ProgRef>; }

Associated Constants

Loading content...

Required methods

fn instance() -> Self[src]

fn as_mut_map(&mut self, index: usize) -> Option<&mut MapRef>[src]

fn as_mut_prog(&mut self, index: usize) -> Option<&mut ProgRef>[src]

Loading content...

Implementors

Loading content...