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

0: 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.

Returns the low level program type.

Returns the name of the program.

Pin the program to the provided path

Trait Implementations

Formats the value using the given formatter. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.