pub struct Selinux { /* private fields */ }
Expand description
Selinux represents the “selinux” field.
Implementations§
source§impl Selinux
impl Selinux
sourcepub fn enabled_mut(&mut self) -> &mut Option<bool>
pub fn enabled_mut(&mut self) -> &mut Option<bool>
“enabled” field represents whether SELinux support is compiled in. Unrelated to whether the host supports SELinux or not. “None” means “unknown”, not “false”.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Selinux
impl<'de> Deserialize<'de> for Selinux
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
source§impl PartialEq for Selinux
impl PartialEq for Selinux
impl Eq for Selinux
impl StructuralPartialEq for Selinux
Auto Trait Implementations§
impl Freeze for Selinux
impl RefUnwindSafe for Selinux
impl Send for Selinux
impl Sync for Selinux
impl Unpin for Selinux
impl UnwindSafe for Selinux
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)