Struct netlink_packet_audit::rules::RuleSyscalls
source · [−]pub struct RuleSyscalls(_);
Implementations
sourceimpl 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
sourceimpl Clone for RuleSyscalls
impl Clone for RuleSyscalls
sourcefn clone(&self) -> RuleSyscalls
fn clone(&self) -> RuleSyscalls
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RuleSyscalls
impl Debug for RuleSyscalls
sourceimpl IntoIterator for RuleSyscalls
impl IntoIterator for RuleSyscalls
type IntoIter = RuleSyscallsIter<RuleSyscalls>
type IntoIter = RuleSyscallsIter<RuleSyscalls>
Which kind of iterator are we turning this into?
sourceimpl<'a> IntoIterator for &'a RuleSyscalls
impl<'a> IntoIterator for &'a RuleSyscalls
type IntoIter = RuleSyscallsIter<&'a RuleSyscalls>
type IntoIter = RuleSyscallsIter<&'a RuleSyscalls>
Which kind of iterator are we turning this into?
sourceimpl<'a> IntoIterator for &'a mut RuleSyscalls
impl<'a> IntoIterator for &'a mut RuleSyscalls
type IntoIter = RuleSyscallsIter<&'a mut RuleSyscalls>
type IntoIter = RuleSyscallsIter<&'a mut RuleSyscalls>
Which kind of iterator are we turning this into?
sourceimpl PartialEq<RuleSyscalls> for RuleSyscalls
impl PartialEq<RuleSyscalls> for RuleSyscalls
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &RuleSyscalls) -> bool
fn ne(&self, other: &RuleSyscalls) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more