pub struct NetkitLinkInfo {
pub ifindex: u32,
pub attach_type: ProgramAttachType,
}
Expand description
Information about a BPF netkit link.
Fields§
§ifindex: u32
Interface index to which the netkit link is attached.
attach_type: ProgramAttachType
Type of program attached to the netkit link.
Trait Implementations§
Source§impl Clone for NetkitLinkInfo
impl Clone for NetkitLinkInfo
Source§fn clone(&self) -> NetkitLinkInfo
fn clone(&self) -> NetkitLinkInfo
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 moreAuto Trait Implementations§
impl Freeze for NetkitLinkInfo
impl RefUnwindSafe for NetkitLinkInfo
impl Send for NetkitLinkInfo
impl Sync for NetkitLinkInfo
impl Unpin for NetkitLinkInfo
impl UnwindSafe for NetkitLinkInfo
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