#[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: __u32
Trait 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 copy 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 Default for btf_header
impl Default for btf_header
Source§fn default() -> btf_header
fn default() -> btf_header
Returns the “default value” for a type. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)