pub struct LinuxFeature { /* private fields */ }
Expand description
Linux specific features.
Implementations§
Source§impl LinuxFeature
impl LinuxFeature
Sourcepub fn namespaces_mut(&mut self) -> &mut Option<Vec<LinuxNamespaceType>>
pub fn namespaces_mut(&mut self) -> &mut Option<Vec<LinuxNamespaceType>>
The list of the recognized namespaces, e.g., “mount”. “None” means “unknown”, not “no support for any namespace”.
Sourcepub fn capabilities_mut(&mut self) -> &mut Option<Vec<String>>
pub fn capabilities_mut(&mut self) -> &mut Option<Vec<String>>
The list of the recognized capabilities , e.g., “CAP_SYS_ADMIN”. “None” means “unknown”, not “no support for any capability”.
Sourcepub fn cgroup_mut(&mut self) -> &mut Option<Cgroup>
pub fn cgroup_mut(&mut self) -> &mut Option<Cgroup>
The available features related to cgroup.
Sourcepub fn seccomp_mut(&mut self) -> &mut Option<Seccomp>
pub fn seccomp_mut(&mut self) -> &mut Option<Seccomp>
The available features related to seccomp.
Sourcepub fn apparmor_mut(&mut self) -> &mut Option<Apparmor>
pub fn apparmor_mut(&mut self) -> &mut Option<Apparmor>
The available features related to apparmor.
Sourcepub fn selinux_mut(&mut self) -> &mut Option<Selinux>
pub fn selinux_mut(&mut self) -> &mut Option<Selinux>
The available features related to selinux.
Sourcepub fn intel_rdt_mut(&mut self) -> &mut Option<IntelRdt>
pub fn intel_rdt_mut(&mut self) -> &mut Option<IntelRdt>
The available features related to Intel RDT.
Sourcepub fn mount_extensions_mut(&mut self) -> &mut Option<MountExtensions>
pub fn mount_extensions_mut(&mut self) -> &mut Option<MountExtensions>
The available features related to mount extensions.
Source§impl LinuxFeature
impl LinuxFeature
Sourcepub fn namespaces(&self) -> &Option<Vec<LinuxNamespaceType>>
pub fn namespaces(&self) -> &Option<Vec<LinuxNamespaceType>>
The list of the recognized namespaces, e.g., “mount”. “None” means “unknown”, not “no support for any namespace”.
Sourcepub fn capabilities(&self) -> &Option<Vec<String>>
pub fn capabilities(&self) -> &Option<Vec<String>>
The list of the recognized capabilities , e.g., “CAP_SYS_ADMIN”. “None” means “unknown”, not “no support for any capability”.
Sourcepub fn mount_extensions(&self) -> &Option<MountExtensions>
pub fn mount_extensions(&self) -> &Option<MountExtensions>
The available features related to mount extensions.
Source§impl LinuxFeature
impl LinuxFeature
Sourcepub fn set_namespaces(
&mut self,
val: Option<Vec<LinuxNamespaceType>>,
) -> &mut Self
pub fn set_namespaces( &mut self, val: Option<Vec<LinuxNamespaceType>>, ) -> &mut Self
The list of the recognized namespaces, e.g., “mount”. “None” means “unknown”, not “no support for any namespace”.
Sourcepub fn set_capabilities(&mut self, val: Option<Vec<String>>) -> &mut Self
pub fn set_capabilities(&mut self, val: Option<Vec<String>>) -> &mut Self
The list of the recognized capabilities , e.g., “CAP_SYS_ADMIN”. “None” means “unknown”, not “no support for any capability”.
Sourcepub fn set_cgroup(&mut self, val: Option<Cgroup>) -> &mut Self
pub fn set_cgroup(&mut self, val: Option<Cgroup>) -> &mut Self
The available features related to cgroup.
Sourcepub fn set_seccomp(&mut self, val: Option<Seccomp>) -> &mut Self
pub fn set_seccomp(&mut self, val: Option<Seccomp>) -> &mut Self
The available features related to seccomp.
Sourcepub fn set_apparmor(&mut self, val: Option<Apparmor>) -> &mut Self
pub fn set_apparmor(&mut self, val: Option<Apparmor>) -> &mut Self
The available features related to apparmor.
Sourcepub fn set_selinux(&mut self, val: Option<Selinux>) -> &mut Self
pub fn set_selinux(&mut self, val: Option<Selinux>) -> &mut Self
The available features related to selinux.
Sourcepub fn set_intel_rdt(&mut self, val: Option<IntelRdt>) -> &mut Self
pub fn set_intel_rdt(&mut self, val: Option<IntelRdt>) -> &mut Self
The available features related to Intel RDT.
Sourcepub fn set_mount_extensions(
&mut self,
val: Option<MountExtensions>,
) -> &mut Self
pub fn set_mount_extensions( &mut self, val: Option<MountExtensions>, ) -> &mut Self
The available features related to mount extensions.
Trait Implementations§
Source§impl Clone for LinuxFeature
impl Clone for LinuxFeature
Source§fn clone(&self) -> LinuxFeature
fn clone(&self) -> LinuxFeature
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more