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§
Source§impl Default for BpfFeaturesOpts
impl Default for BpfFeaturesOpts
Source§fn default() -> BpfFeaturesOpts
fn default() -> BpfFeaturesOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BpfFeaturesOpts
impl RefUnwindSafe for BpfFeaturesOpts
impl Send for BpfFeaturesOpts
impl Sync for BpfFeaturesOpts
impl Unpin for BpfFeaturesOpts
impl UnwindSafe for BpfFeaturesOpts
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