pub struct MacState {
pub selinux: Probe<SeLinuxState>,
pub apparmor: Probe<AppArmorState>,
}Expand description
MAC layer state gathered before the check pipeline runs.
Both probes default to Probe::Unknown when the corresponding
subsystem is absent or unreadable.
Fields§
§selinux: Probe<SeLinuxState>SELinux probe result.
apparmor: Probe<AppArmorState>AppArmor probe result.
Trait Implementations§
impl Eq for MacState
impl StructuralPartialEq for MacState
Auto Trait Implementations§
impl Freeze for MacState
impl RefUnwindSafe for MacState
impl Send for MacState
impl Sync for MacState
impl Unpin for MacState
impl UnsafeUnpin for MacState
impl UnwindSafe for MacState
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