Enum redbpf::Error[][src]

pub enum Error {
Show 15 variants StringConversion, BPF, Map, Section(String), Parse(Error), KernelRelease(String), IO(Error), Uname, Reloc, LibraryNotFound(String), SymbolNotFound(String), ProgramAlreadyLoaded, ProgramNotLoaded, ElfError, BTF(String),
}

Variants

StringConversion
BPF
Map
Section(String)

Tuple Fields of Section

0: String
Parse(Error)

Tuple Fields of Parse

0: Error
KernelRelease(String)

Tuple Fields of KernelRelease

0: String
IO(Error)

Tuple Fields of IO

0: Error
Uname
Reloc
LibraryNotFound(String)

Tuple Fields of LibraryNotFound

0: String
SymbolNotFound(String)

Tuple Fields of SymbolNotFound

0: String
ProgramAlreadyLoaded
ProgramNotLoaded
ElfError
BTF(String)

Tuple Fields of BTF

0: String

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more