pub fn reset(&mut self, action: ScmpAction) -> Result<()> {
        let ret = unsafe { seccomp_reset(self.ctx.as_ptr(), action.to_native()) };
        if ret < 0 {
            return Err(SeccompError::new(Errno(ret)));
        }

        Ok(())
    }
/// reset resets a filter context, removing all its existing state.
///
/// Accepts a new default action to be taken for syscalls which do not match.
/// Returns an error if the filter or action provided are invalid.
reset resets a filter context, removing all its existing state.
Accepts a new default action to be taken for syscalls which do not match.
Returns an error if the filter or action provided are invalid.
reset resets a filter context removing all its existing state . Accepts a new default action to be taken for syscalls which do not match . Returns an error if the filter or action provided are invalid .
pub fn reset(&mut self, action: ScmpAction) -> Result<()> {
        let ret = unsafe { seccomp_reset(self.ctx.as_ptr(), action.to_native()) };
        if ret < 0 {
            return Err(SeccompError::new(Errno(ret)));
        }
        Ok(())
    }
pub fn reset ( & mut self , action : ScmpAction ) -> Result < ( ) > { let ret = unsafe { seccomp_reset ( self . ctx . as_ptr ( ) , action . to_native ( ) ) } ; if ret < 0 { return Err ( SeccompError :: new ( Errno ( ret ) ) ) ; } Ok ( ( ) ) }
reset resets a filter context, removing all its existing state.
reset resets a filter context removing all its existing state .
&mut self
action
ScmpAction