[][src]Struct netlink_packet_audit::rules::RuleSyscalls

pub struct 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]

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?

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?

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?

impl PartialEq<RuleSyscalls> for RuleSyscalls[src]

impl StructuralEq for RuleSyscalls[src]

impl StructuralPartialEq for RuleSyscalls[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

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?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.