[][src]Struct seccomp_tiny::ProgramBuffer

pub struct ProgramBuffer { /* fields omitted */ }

Implementations

impl ProgramBuffer[src]

pub fn new() -> Self[src]

pub fn instructions(&self) -> &[SockFilter][src]

pub fn activate(&self)[src]

pub fn block(&mut self, block: &[SockFilter])[src]

pub fn inst(&mut self, instruction: SockFilter)[src]

pub fn if_eq(&mut self, k: usize, block: &[SockFilter])[src]

pub fn if_any_eq(&mut self, k_list: &[usize], block: &[SockFilter])[src]

Trait Implementations

impl Clone for ProgramBuffer[src]

impl Debug for ProgramBuffer[src]

impl Eq for ProgramBuffer[src]

impl PartialEq<ProgramBuffer> for ProgramBuffer[src]

impl StructuralEq for ProgramBuffer[src]

impl StructuralPartialEq for ProgramBuffer[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<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.