Skip to main content

Arg1IsSocketProgramContext

Trait Arg1IsSocketProgramContext 

Source
pub trait Arg1IsSocketProgramContext: EbpfProgramContext {
    type Arg1AsSocket<'a>: FromBpfValue<Self::RunContext<'a>> + SocketRef;
}

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<C> Arg1IsSocketProgramContext for C
where C: EbpfProgramContext, for<'a> Self::Arg1<'a>: FromBpfValue<Self::RunContext<'a>> + SocketRef,