pub enum CgroupSkbAttachType {
Ingress,
Egress,
}Expand description
Defines where to attach a CgroupSkb program.
Variants§
Trait Implementations§
Source§impl Clone for CgroupSkbAttachType
impl Clone for CgroupSkbAttachType
Source§fn clone(&self) -> CgroupSkbAttachType
fn clone(&self) -> CgroupSkbAttachType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CgroupSkbAttachType
Source§impl Debug for CgroupSkbAttachType
impl Debug for CgroupSkbAttachType
Source§impl From<CgroupSkbAttachType> for bpf_attach_type
impl From<CgroupSkbAttachType> for bpf_attach_type
Source§fn from(s: CgroupSkbAttachType) -> Self
fn from(s: CgroupSkbAttachType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CgroupSkbAttachType
impl RefUnwindSafe for CgroupSkbAttachType
impl Send for CgroupSkbAttachType
impl Sync for CgroupSkbAttachType
impl Unpin for CgroupSkbAttachType
impl UnsafeUnpin for CgroupSkbAttachType
impl UnwindSafe for CgroupSkbAttachType
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