pub enum CgroupAttachMode {
Single,
AllowOverride,
AllowMultiple,
}Expand description
Program attachment mode.
Variants§
Single
Allows only one BPF program in the cgroup subtree.
AllowOverride
Allows the program to be overridden by one in a sub-cgroup.
AllowMultiple
Allows multiple programs to be run in the cgroup subtree.
Trait Implementations§
Source§impl Clone for CgroupAttachMode
impl Clone for CgroupAttachMode
Source§fn clone(&self) -> CgroupAttachMode
fn clone(&self) -> CgroupAttachMode
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 CgroupAttachMode
impl Debug for CgroupAttachMode
Source§impl Default for CgroupAttachMode
impl Default for CgroupAttachMode
Source§fn default() -> CgroupAttachMode
fn default() -> CgroupAttachMode
Returns the “default value” for a type. Read more
Source§impl From<CgroupAttachMode> for u32
impl From<CgroupAttachMode> for u32
Source§fn from(mode: CgroupAttachMode) -> Self
fn from(mode: CgroupAttachMode) -> Self
Converts to this type from the input type.
impl Copy for CgroupAttachMode
Auto Trait Implementations§
impl Freeze for CgroupAttachMode
impl RefUnwindSafe for CgroupAttachMode
impl Send for CgroupAttachMode
impl Sync for CgroupAttachMode
impl Unpin for CgroupAttachMode
impl UnwindSafe for CgroupAttachMode
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