pub struct DeniedSyscall {
pub name: &'static str,
pub enforcement: Enforcement,
pub reason: Option<&'static str>,
}Expand description
One configured syscall denial.
Fields§
§name: &'static strPlatform syscall name.
enforcement: EnforcementWhether the denial is mandatory or optional.
reason: Option<&'static str>Security rationale for denying the syscall.
Trait Implementations§
Source§impl Clone for DeniedSyscall
impl Clone for DeniedSyscall
Source§fn clone(&self) -> DeniedSyscall
fn clone(&self) -> DeniedSyscall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeniedSyscall
impl Debug for DeniedSyscall
Source§impl PartialEq for DeniedSyscall
impl PartialEq for DeniedSyscall
Source§fn eq(&self, other: &DeniedSyscall) -> bool
fn eq(&self, other: &DeniedSyscall) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DeniedSyscall
impl Eq for DeniedSyscall
impl StructuralPartialEq for DeniedSyscall
Auto Trait Implementations§
impl Freeze for DeniedSyscall
impl RefUnwindSafe for DeniedSyscall
impl Send for DeniedSyscall
impl Sync for DeniedSyscall
impl Unpin for DeniedSyscall
impl UnsafeUnpin for DeniedSyscall
impl UnwindSafe for DeniedSyscall
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