#[repr(C)]pub struct btf_header {
pub magic: u16,
pub version: u8,
pub flags: u8,
pub hdr_len: u32,
pub type_off: u32,
pub type_len: u32,
pub str_off: u32,
pub str_len: u32,
}Fields§
§magic: u16§version: u8§flags: u8§hdr_len: u32§type_off: u32§type_len: u32§str_off: u32§str_len: u32Trait Implementations§
Source§impl Clone for btf_header
impl Clone for btf_header
Source§fn clone(&self) -> btf_header
fn clone(&self) -> btf_header
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 btf_header
impl Debug for btf_header
Source§impl<'a> IntoCtx<Endian> for &'a btf_header
impl<'a> IntoCtx<Endian> for &'a btf_header
Source§impl<'a> TryFromCtx<'a, Endian> for btf_headerwhere
btf_header: 'a,
impl<'a> TryFromCtx<'a, Endian> for btf_headerwhere
btf_header: 'a,
Source§impl<'a> TryIntoCtx<Endian> for &'a btf_header
impl<'a> TryIntoCtx<Endian> for &'a btf_header
Source§impl TryIntoCtx<Endian> for btf_header
impl TryIntoCtx<Endian> for btf_header
impl Copy for btf_header
Auto Trait Implementations§
impl Freeze for btf_header
impl RefUnwindSafe for btf_header
impl Send for btf_header
impl Sync for btf_header
impl Unpin for btf_header
impl UnwindSafe for btf_header
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