pub struct BtfFeatures { /* private fields */ }Expand description
Available BTF features
Implementations§
Source§impl BtfFeatures
impl BtfFeatures
Sourcepub fn btf_func_global(&self) -> bool
pub fn btf_func_global(&self) -> bool
Returns true if the BTF_TYPE_FUNC_GLOBAL is supported.
Sourcepub fn btf_datasec(&self) -> bool
pub fn btf_datasec(&self) -> bool
Returns true if the BTF_TYPE_DATASEC is supported.
Sourcepub fn btf_decl_tag(&self) -> bool
pub fn btf_decl_tag(&self) -> bool
Returns true if the BTF_DECL_TAG is supported.
Sourcepub fn btf_type_tag(&self) -> bool
pub fn btf_type_tag(&self) -> bool
Returns true if the BTF_TYPE_TAG is supported.
Sourcepub fn btf_kind_func_proto(&self) -> bool
pub fn btf_kind_func_proto(&self) -> bool
Returns true if the BTF_KIND_FUNC_PROTO is supported.
Sourcepub fn btf_enum64(&self) -> bool
pub fn btf_enum64(&self) -> bool
Returns true if the BTF_KIND_ENUM64 is supported.
Trait Implementations§
Source§impl Debug for BtfFeatures
impl Debug for BtfFeatures
Source§impl Default for BtfFeatures
impl Default for BtfFeatures
Source§fn default() -> BtfFeatures
fn default() -> BtfFeatures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BtfFeatures
impl RefUnwindSafe for BtfFeatures
impl Send for BtfFeatures
impl Sync for BtfFeatures
impl Unpin for BtfFeatures
impl UnwindSafe for BtfFeatures
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