pub struct LinkInfo {
pub info: LinkTypeInfo,
pub id: u32,
pub prog_id: u32,
}Expand description
Information about a BPF link. Maps to struct bpf_link_info in kernel uapi.
Fields§
§info: LinkTypeInfoInformation about the BPF link type.
id: u32Unique identifier of the BPF link.
prog_id: u32ID of the BPF program attached via this link.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinkInfo
impl RefUnwindSafe for LinkInfo
impl Send for LinkInfo
impl Sync for LinkInfo
impl Unpin for LinkInfo
impl UnwindSafe for LinkInfo
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