pub struct Function {
pub address: u64,
pub name: String,
pub section_index: SectionIndex,
pub section_offset: usize,
pub instructions: Vec<bpf_insn>,
pub func_info: FuncSecInfo,
pub line_info: LineSecInfo,
pub func_info_rec_size: usize,
pub line_info_rec_size: usize,
}Expand description
An eBPF function
Fields§
§address: u64The address
name: StringThe function name
section_index: SectionIndexThe section index
section_offset: usizeThe section offset
instructions: Vec<bpf_insn>The eBPF byte code instructions
func_info: FuncSecInfoThe function info
line_info: LineSecInfoThe line info
func_info_rec_size: usizeFunction info record size
line_info_rec_size: usizeLine info record size
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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