pub struct StructOpsLinkInfo {
pub map_id: u32,
}
Expand description
Information about a BPF struct_ops
link.
Fields§
§map_id: u32
The ID of the BPF map to which the struct_ops
link is attached.
Trait Implementations§
Source§impl Clone for StructOpsLinkInfo
impl Clone for StructOpsLinkInfo
Source§fn clone(&self) -> StructOpsLinkInfo
fn clone(&self) -> StructOpsLinkInfo
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for StructOpsLinkInfo
impl RefUnwindSafe for StructOpsLinkInfo
impl Send for StructOpsLinkInfo
impl Sync for StructOpsLinkInfo
impl Unpin for StructOpsLinkInfo
impl UnwindSafe for StructOpsLinkInfo
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