#[repr(C)]pub struct BpfLinkCreateAttr {
pub prog_fd: u32,
pub target_ifindex: u32,
pub attach_type: u32,
pub flags: u32,
}Fields§
§prog_fd: u32§target_ifindex: u32§attach_type: u32§flags: u32Trait Implementations§
Source§impl Clone for BpfLinkCreateAttr
impl Clone for BpfLinkCreateAttr
impl Copy for BpfLinkCreateAttr
Auto Trait Implementations§
impl Freeze for BpfLinkCreateAttr
impl RefUnwindSafe for BpfLinkCreateAttr
impl Send for BpfLinkCreateAttr
impl Sync for BpfLinkCreateAttr
impl Unpin for BpfLinkCreateAttr
impl UnsafeUnpin for BpfLinkCreateAttr
impl UnwindSafe for BpfLinkCreateAttr
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