Struct netlink_packet_audit::rules::RuleSyscalls
source · #[non_exhaustive]pub struct RuleSyscalls(_);
Implementations§
source§impl RuleSyscalls
impl RuleSyscalls
pub fn from_slice(slice: &[u8]) -> Result<Self, DecodeError>
pub fn new_zeroed() -> Self
pub fn new_maxed() -> Self
sourcepub fn unset(&mut self, syscall: u32) -> &mut Self
pub fn unset(&mut self, syscall: u32) -> &mut Self
Unset the bit corresponding to the given syscall
Trait Implementations§
source§impl Clone for RuleSyscalls
impl Clone for RuleSyscalls
source§fn clone(&self) -> RuleSyscalls
fn clone(&self) -> RuleSyscalls
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 RuleSyscalls
impl Debug for RuleSyscalls
source§impl<'a> IntoIterator for &'a RuleSyscalls
impl<'a> IntoIterator for &'a RuleSyscalls
source§impl<'a> IntoIterator for &'a mut RuleSyscalls
impl<'a> IntoIterator for &'a mut RuleSyscalls
source§impl IntoIterator for RuleSyscalls
impl IntoIterator for RuleSyscalls
source§impl PartialEq<RuleSyscalls> for RuleSyscalls
impl PartialEq<RuleSyscalls> for RuleSyscalls
source§fn eq(&self, other: &RuleSyscalls) -> bool
fn eq(&self, other: &RuleSyscalls) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RuleSyscalls
impl StructuralEq for RuleSyscalls
impl StructuralPartialEq for RuleSyscalls
Auto Trait Implementations§
impl RefUnwindSafe for RuleSyscalls
impl Send for RuleSyscalls
impl Sync for RuleSyscalls
impl Unpin for RuleSyscalls
impl UnwindSafe for RuleSyscalls
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