Enum aya::BtfError [−][src]
pub enum BtfError {
FileError {
path: PathBuf,
error: Error,
},
InvalidHeader,
InvalidTypeInfo,
InvalidRelocationInfo,
InvalidTypeKind {
kind: u32,
},
InvalidRelocationKind {
kind: u32,
},
InvalidStringOffset {
offset: usize,
},
InvalidInfo {
offset: usize,
len: usize,
section_len: usize,
},
InvalidLineInfo {
offset: usize,
len: usize,
section_len: usize,
},
UnknownBtfType {
type_id: u32,
},
UnexpectedBtfType {
type_id: u32,
},
MaximumTypeDepthReached {
type_id: u32,
},
}
Expand description
The error type returned when BTF
operations fail.
Variants
Fields of InvalidTypeKind
kind: u32
Fields of InvalidRelocationKind
kind: u32
Fields of InvalidStringOffset
offset: usize
Fields of UnknownBtfType
type_id: u32
Fields of UnexpectedBtfType
type_id: u32
Fields of MaximumTypeDepthReached
type_id: u32