pub struct SockMapLinkInfo {
pub map_id: u32,
pub attach_type: ProgramAttachType,
}
Expand description
Information about a BPF sockmap link.
Fields§
§map_id: u32
The ID of the BPF sockmap.
attach_type: ProgramAttachType
The type of program attached to the sockmap.
Trait Implementations§
Source§impl Clone for SockMapLinkInfo
impl Clone for SockMapLinkInfo
Source§fn clone(&self) -> SockMapLinkInfo
fn clone(&self) -> SockMapLinkInfo
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 SockMapLinkInfo
impl RefUnwindSafe for SockMapLinkInfo
impl Send for SockMapLinkInfo
impl Sync for SockMapLinkInfo
impl Unpin for SockMapLinkInfo
impl UnwindSafe for SockMapLinkInfo
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