[−][src]Struct netlink_packet_audit::rules::RuleSyscalls
Implementations
impl RuleSyscalls
[src]
pub fn from_slice(slice: &[u8]) -> Result<Self, DecodeError>
[src]
pub fn new_zeroed() -> Self
[src]
pub fn new_maxed() -> Self
[src]
pub fn unset_all(&mut self) -> &mut Self
[src]
Unset all the bits
pub fn is_all(&self) -> bool
[src]
Return true
if all the syscalls are set, false
otherwise
pub fn set_all(&mut self) -> &mut Self
[src]
Set all the bits
pub fn unset(&mut self, syscall: u32) -> &mut Self
[src]
Unset the bit corresponding to the given syscall
pub fn set(&mut self, syscall: u32) -> &mut Self
[src]
Set the bit corresponding to the given syscall
pub fn has(&self, syscall: u32) -> bool
[src]
Check if the bit corresponding to the given syscall is set
Trait Implementations
impl Clone for RuleSyscalls
[src]
fn clone(&self) -> RuleSyscalls
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RuleSyscalls
[src]
impl Eq for RuleSyscalls
[src]
impl IntoIterator for RuleSyscalls
[src]
type Item = u32
The type of the elements being iterated over.
type IntoIter = RuleSyscallsIter<RuleSyscalls>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a RuleSyscalls
[src]
type Item = u32
The type of the elements being iterated over.
type IntoIter = RuleSyscallsIter<&'a RuleSyscalls>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a mut RuleSyscalls
[src]
type Item = u32
The type of the elements being iterated over.
type IntoIter = RuleSyscallsIter<&'a mut RuleSyscalls>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<RuleSyscalls> for RuleSyscalls
[src]
fn eq(&self, other: &RuleSyscalls) -> bool
[src]
fn ne(&self, other: &RuleSyscalls) -> bool
[src]
impl StructuralEq for RuleSyscalls
[src]
impl StructuralPartialEq for RuleSyscalls
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,