Struct libbpf_sys::btf_header
source · [−]#[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
sourceimpl Clone for btf_header
impl Clone for btf_header
sourcefn clone(&self) -> btf_header
fn clone(&self) -> btf_header
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for btf_header
impl Debug for btf_header
sourceimpl Default for btf_header
impl Default for btf_header
sourcefn 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 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more