Struct bpf_feature::bpf::BpfFeaturesOpts
source · [−]pub struct BpfFeaturesOpts {
pub full_helpers: bool,
}
Expand description
Options that can be passed into features
Fields
full_helpers: bool
For compatibility purposes with bpftool, the helpers determined support for
is not the complete set. A few always-available helpers are filtered out
such as bpf_trace_printk
, bpf_trace_vprintk
, and bpf_probe_write_user
.
Default: false
Trait Implementations
sourceimpl Default for BpfFeaturesOpts
impl Default for BpfFeaturesOpts
sourcefn default() -> BpfFeaturesOpts
fn default() -> BpfFeaturesOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BpfFeaturesOpts
impl Send for BpfFeaturesOpts
impl Sync for BpfFeaturesOpts
impl Unpin for BpfFeaturesOpts
impl UnwindSafe for BpfFeaturesOpts
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