pub struct RawTracepointOpts {
pub cookie: u64,
/* private fields */
}
Expand description
Options to optionally be provided when attaching to a raw tracepoint.
Fields§
Custom user-provided value accessible through bpf_get_attach_cookie
.
Trait Implementations§
Source§impl Clone for RawTracepointOpts
impl Clone for RawTracepointOpts
Source§fn clone(&self) -> RawTracepointOpts
fn clone(&self) -> RawTracepointOpts
Returns a duplicate 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 RawTracepointOpts
impl Debug for RawTracepointOpts
Source§impl Default for RawTracepointOpts
impl Default for RawTracepointOpts
Source§fn default() -> RawTracepointOpts
fn default() -> RawTracepointOpts
Returns the “default value” for a type. Read more
Source§impl From<RawTracepointOpts> for bpf_raw_tracepoint_opts
impl From<RawTracepointOpts> for bpf_raw_tracepoint_opts
Source§fn from(opts: RawTracepointOpts) -> Self
fn from(opts: RawTracepointOpts) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawTracepointOpts
impl RefUnwindSafe for RawTracepointOpts
impl Send for RawTracepointOpts
impl Sync for RawTracepointOpts
impl Unpin for RawTracepointOpts
impl UnwindSafe for RawTracepointOpts
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