Enum aya::BpfError [−][src]
pub enum BpfError { FileError { path: PathBuf, error: Error, }, ParseError(ParseError), BtfError(BtfError), RelocationError { function: String, error: Box<dyn Error + Send + Sync>, }, MapError(MapError), ProgramError(ProgramError), }
Expand description
The error type returned by Bpf::load_file
and Bpf::load
.
Variants
BtfError(BtfError)
MapError(MapError)
ProgramError(ProgramError)
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for BpfError
impl !UnwindSafe for BpfError