pub struct FuncSecInfo {
pub num_info: u32,
pub func_info: Vec<bpf_func_info>,
/* private fields */
}Expand description
A collection of bpf_func_info collected from the btf_ext_info_sec struct
inside the FuncInfo subsection.
See BPF Type Format (BTF) — The Linux Kernel documentation for more information.
Fields§
§num_info: u32The number of info entries
func_info: Vec<bpf_func_info>Info entries
Implementations§
Source§impl FuncSecInfo
impl FuncSecInfo
Sourcepub fn func_info_bytes(&self) -> Vec<u8> ⓘ
pub fn func_info_bytes(&self) -> Vec<u8> ⓘ
Encodes the bpf_func_info entries.
Sourcepub fn len(&self) -> usize
pub fn len(&self) -> usize
Returns the number of bpf_func_info entries.
Trait Implementations§
Source§impl Clone for FuncSecInfo
impl Clone for FuncSecInfo
Source§fn clone(&self) -> FuncSecInfo
fn clone(&self) -> FuncSecInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FuncSecInfo
impl Debug for FuncSecInfo
Source§impl Default for FuncSecInfo
impl Default for FuncSecInfo
Source§fn default() -> FuncSecInfo
fn default() -> FuncSecInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FuncSecInfo
impl RefUnwindSafe for FuncSecInfo
impl Send for FuncSecInfo
impl Sync for FuncSecInfo
impl Unpin for FuncSecInfo
impl UnwindSafe for FuncSecInfo
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