pub enum TypeGenError {
VmlinuxParsingError,
VmlinuxNotFound,
InvalidPath,
IO(Error),
RegexError,
DumpError,
}Expand description
An error that occurred during parsing vmlinux and generating C source code from BTF.
Variants§
VmlinuxParsingError
error on parsing vmlinux
VmlinuxNotFound
vmlinux not found
InvalidPath
path contains invalid utf-8
IO(Error)
IO error
RegexError
invalid regex
DumpError
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeGenError
impl !RefUnwindSafe for TypeGenError
impl Send for TypeGenError
impl Sync for TypeGenError
impl Unpin for TypeGenError
impl !UnwindSafe for TypeGenError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more