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