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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)