pub enum CgroupSockoptAttachType {
Get,
Set,
}Expand description
Defines where to attach a CgroupSockopt program.
Variants§
Trait Implementations§
Source§impl Clone for CgroupSockoptAttachType
impl Clone for CgroupSockoptAttachType
Source§fn clone(&self) -> CgroupSockoptAttachType
fn clone(&self) -> CgroupSockoptAttachType
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 CgroupSockoptAttachType
Source§impl Debug for CgroupSockoptAttachType
impl Debug for CgroupSockoptAttachType
Source§impl From<CgroupSockoptAttachType> for bpf_attach_type
impl From<CgroupSockoptAttachType> for bpf_attach_type
Source§fn from(s: CgroupSockoptAttachType) -> Self
fn from(s: CgroupSockoptAttachType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CgroupSockoptAttachType
impl RefUnwindSafe for CgroupSockoptAttachType
impl Send for CgroupSockoptAttachType
impl Sync for CgroupSockoptAttachType
impl Unpin for CgroupSockoptAttachType
impl UnsafeUnpin for CgroupSockoptAttachType
impl UnwindSafe for CgroupSockoptAttachType
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