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),
PerfEvent(PerfEvent),
}
Expand description
eBPF program type.
Variants
KProbe(KProbe)
Tuple Fields of KProbe
0: KProbe
UProbe(UProbe)
Tuple Fields of UProbe
0: UProbe
TracePoint(TracePoint)
Tuple Fields of TracePoint
0: TracePoint
SocketFilter(SocketFilter)
Tuple Fields of SocketFilter
0: SocketFilter
Xdp(Xdp)
Tuple Fields of Xdp
0: Xdp
SkMsg(SkMsg)
Tuple Fields of SkMsg
0: SkMsg
SkSkb(SkSkb)
Tuple Fields of SkSkb
0: SkSkb
SockOps(SockOps)
Tuple Fields of SockOps
0: SockOps
SchedClassifier(SchedClassifier)
Tuple Fields of SchedClassifier
CgroupSkb(CgroupSkb)
Tuple Fields of CgroupSkb
0: CgroupSkb
LircMode2(LircMode2)
Tuple Fields of LircMode2
0: LircMode2
PerfEvent(PerfEvent)
Tuple Fields of PerfEvent
0: PerfEvent
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.
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.
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.