pub enum CgroupSockAttachType {
PostBind4,
PostBind6,
SockCreate,
SockRelease,
}Expand description
Defines where to attach a CgroupSock program.
Variants§
PostBind4
Called after the IPv4 bind events.
PostBind6
Called after the IPv6 bind events.
SockCreate
Attach to IPv4 connect events.
SockRelease
Attach to IPv6 connect events.
Trait Implementations§
Source§impl Clone for CgroupSockAttachType
impl Clone for CgroupSockAttachType
Source§fn clone(&self) -> CgroupSockAttachType
fn clone(&self) -> CgroupSockAttachType
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 CgroupSockAttachType
impl Debug for CgroupSockAttachType
Source§impl Default for CgroupSockAttachType
impl Default for CgroupSockAttachType
Source§fn default() -> CgroupSockAttachType
fn default() -> CgroupSockAttachType
Returns the “default value” for a type. Read more
Source§impl From<CgroupSockAttachType> for bpf_attach_type
impl From<CgroupSockAttachType> for bpf_attach_type
Source§fn from(s: CgroupSockAttachType) -> bpf_attach_type
fn from(s: CgroupSockAttachType) -> bpf_attach_type
Converts to this type from the input type.
impl Copy for CgroupSockAttachType
Auto Trait Implementations§
impl Freeze for CgroupSockAttachType
impl RefUnwindSafe for CgroupSockAttachType
impl Send for CgroupSockAttachType
impl Sync for CgroupSockAttachType
impl Unpin for CgroupSockAttachType
impl UnwindSafe for CgroupSockAttachType
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