Struct ebpf_user::Skeleton[][src]

pub struct Skeleton<App> where
    App: BpfApp
{ pub app: Box<App>, // some fields omitted }

Fields

app: Box<App>

Implementations

impl<App> Skeleton<App> where
    App: BpfApp
[src]

pub fn open(name: &'static str, code: &'static [u8]) -> Result<Self, i32>[src]

pub fn load(&mut self) -> Result<(), i32>[src]

pub fn attach(&mut self) -> Result<(), i32>[src]

Trait Implementations

impl<App> Drop for Skeleton<App> where
    App: BpfApp
[src]

Auto Trait Implementations

impl<App> RefUnwindSafe for Skeleton<App> where
    App: RefUnwindSafe

impl<App> !Send for Skeleton<App>

impl<App> !Sync for Skeleton<App>

impl<App> Unpin for Skeleton<App>

impl<App> UnwindSafe for Skeleton<App> where
    App: UnwindSafe

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, 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.