Struct selinux::permission_check::PermissionCheckResult
source · pub struct PermissionCheckResult {
pub permit: bool,
pub audit: bool,
}
Expand description
Describes the result of a permission lookup between two Security Contexts.
Fields§
§permit: bool
True if the specified permissions should be permitted.
audit: bool
True if details of the check should be audit logged. Audit logs are by default only output when the policy defines that the permissions should be denied (whether or not the check is “permissive”), but may be suppressed for some denials (“dontaudit”), or for some allowed permissions (“auditallow”).
Trait Implementations§
source§impl Clone for PermissionCheckResult
impl Clone for PermissionCheckResult
source§fn clone(&self) -> PermissionCheckResult
fn clone(&self) -> PermissionCheckResult
Returns a copy of the value. Read more
1.0.0 · 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 PermissionCheckResult
impl Debug for PermissionCheckResult
source§impl PartialEq for PermissionCheckResult
impl PartialEq for PermissionCheckResult
source§fn eq(&self, other: &PermissionCheckResult) -> bool
fn eq(&self, other: &PermissionCheckResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PermissionCheckResult
Auto Trait Implementations§
impl Freeze for PermissionCheckResult
impl RefUnwindSafe for PermissionCheckResult
impl Send for PermissionCheckResult
impl Sync for PermissionCheckResult
impl Unpin for PermissionCheckResult
impl UnwindSafe for PermissionCheckResult
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
)