pub enum SecurityMechanism {
BpfLsm {
program: String,
},
CgroupV2 {
path: String,
},
Landlock {
ruleset_id: u64,
},
Seccomp {
filter_id: u32,
},
Ebpf {
program: String,
},
}Expand description
A security mechanism that was applied.
Variants§
BpfLsm
BPF LSM hook.
CgroupV2
cgroup v2 restriction.
Landlock
Landlock rule.
Seccomp
seccomp filter.
Ebpf
eBPF program.
Trait Implementations§
Source§impl Clone for SecurityMechanism
impl Clone for SecurityMechanism
Source§fn clone(&self) -> SecurityMechanism
fn clone(&self) -> SecurityMechanism
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 moreSource§impl Debug for SecurityMechanism
impl Debug for SecurityMechanism
Source§impl<'de> Deserialize<'de> for SecurityMechanism
impl<'de> Deserialize<'de> for SecurityMechanism
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SecurityMechanism
impl RefUnwindSafe for SecurityMechanism
impl Send for SecurityMechanism
impl Sync for SecurityMechanism
impl Unpin for SecurityMechanism
impl UnsafeUnpin for SecurityMechanism
impl UnwindSafe for SecurityMechanism
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