Struct seccomp::Compare [] [src]

pub struct Compare {
    // some fields omitted
}

Comparison definition builder

Methods

impl Compare

fn arg(arg_num: u32) -> Self

argument number, starting at 0

fn using(self, op: Op) -> Self

Comparison operator

fn with(self, datum: u64) -> Self

Datum to compare with

fn and(self, datum: u64) -> Self

Second datum

fn build(self) -> Option<Cmp>

build comparison definition