Enum aya::programs::Program [−][src]
pub enum Program { KProbe(KProbe), UProbe(UProbe), TracePoint(TracePoint), SocketFilter(SocketFilter), Xdp(Xdp), SkMsg(SkMsg), SkSkb(SkSkb), SockOps(SockOps), SchedClassifier(SchedClassifier), CgroupSkb(CgroupSkb), LircMode2(LircMode2), }
Expand description
eBPF program type.
Variants
KProbe(KProbe)
UProbe(UProbe)
TracePoint(TracePoint)
SocketFilter(SocketFilter)
Xdp(Xdp)
SkMsg(SkMsg)
SkSkb(SkSkb)
SockOps(SockOps)
SchedClassifier(SchedClassifier)
CgroupSkb(CgroupSkb)
LircMode2(LircMode2)
Implementations
Loads the program in the kernel.
Errors
If the load operation fails, the method returns
ProgramError::LoadError
and the error’s verifier_log
field
contains the output from the kernel verifier.
If the program is already loaded, ProgramError::AlreadyLoaded
is
returned.
Trait Implementations
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Program
impl !UnwindSafe for Program