Enum aya::BpfError [−][src]
pub enum BpfError {
FileError {
path: PathBuf,
error: Error,
},
NoPinPath,
UnexpectedPinningType {
name: u32,
},
InvalidPath {
error: String,
},
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
Fields of UnexpectedPinningType
name: u32
Fields of InvalidPath
error: String
BtfError(BtfError)
Tuple Fields of BtfError
0: BtfError
MapError(MapError)
Tuple Fields of MapError
0: MapError
ProgramError(ProgramError)
Tuple Fields of ProgramError
0: ProgramError
Trait Implementations
Performs the conversion.