#[repr(u8)]pub enum EbpfAttachType {
XdpIngress = 0,
TcIngress = 1,
TcEgress = 2,
SocketFilter = 3,
CgroupIngress = 4,
CgroupEgress = 5,
None = 255,
}Expand description
eBPF attach point classification.
Variants§
XdpIngress = 0
XDP hook on NIC ingress.
TcIngress = 1
TC ingress qdisc.
TcEgress = 2
TC egress qdisc.
SocketFilter = 3
Socket filter attachment.
CgroupIngress = 4
Cgroup ingress.
CgroupEgress = 5
Cgroup egress.
None = 255
No automatic attachment.
Trait Implementations§
Source§impl Clone for EbpfAttachType
impl Clone for EbpfAttachType
Source§fn clone(&self) -> EbpfAttachType
fn clone(&self) -> EbpfAttachType
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 moreSource§impl Debug for EbpfAttachType
impl Debug for EbpfAttachType
Source§impl Hash for EbpfAttachType
impl Hash for EbpfAttachType
Source§impl PartialEq for EbpfAttachType
impl PartialEq for EbpfAttachType
Source§impl TryFrom<u8> for EbpfAttachType
impl TryFrom<u8> for EbpfAttachType
impl Copy for EbpfAttachType
impl Eq for EbpfAttachType
impl StructuralPartialEq for EbpfAttachType
Auto Trait Implementations§
impl Freeze for EbpfAttachType
impl RefUnwindSafe for EbpfAttachType
impl Send for EbpfAttachType
impl Sync for EbpfAttachType
impl Unpin for EbpfAttachType
impl UnwindSafe for EbpfAttachType
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