pub fn remove_arch(&mut self, arch: ScmpArch) -> Result<()> {
        let ret = unsafe { seccomp_arch_remove(self.ctx.as_ptr(), arch.to_native()) };

        // Similar to add_arch, -EEXIST is returned if the arch is not present
        // Succeed silently in that case, this is not fatal and the architecture
        // is not present in the filter after remove_arch
        if ret < 0 && ret != -(libc::EEXIST as i32) {
            return Err(SeccompError::new(Errno(ret)));
        }

        Ok(())
    }
/// remove_arch removes an architecture from the filter.
///
/// Accepts an architecture constant.
/// Returns an error on invalid filter context or architecture token, or an
/// issue with the call to libseccomp.
remove_arch removes an architecture from the filter.
Accepts an architecture constant.
Returns an error on invalid filter context or architecture token, or an
issue with the call to libseccomp.
remove_arch removes an architecture from the filter . Accepts an architecture constant . Returns an error on invalid filter context or architecture token or an issue with the call to libseccomp .
pub fn remove_arch(&mut self, arch: ScmpArch) -> Result<()> {
        let ret = unsafe { seccomp_arch_remove(self.ctx.as_ptr(), arch.to_native()) };
        // Similar to add_arch, -EEXIST is returned if the arch is not present
        // Succeed silently in that case, this is not fatal and the architecture
        // is not present in the filter after remove_arch
        if ret < 0 && ret != -(libc::EEXIST as i32) {
            return Err(SeccompError::new(Errno(ret)));
        }
        Ok(())
    }
pub fn remove_arch ( & mut self , arch : ScmpArch ) -> Result < ( ) > { let ret = unsafe { seccomp_arch_remove ( self . ctx . as_ptr ( ) , arch . to_native ( ) ) } ; // Similar to add_arch, -EEXIST is returned if the arch is not present // Succeed silently in that case, this is not fatal and the architecture // is not present in the filter after remove_arch if ret < 0 && ret != - ( libc :: EEXIST as i32 ) { return Err ( SeccompError :: new ( Errno ( ret ) ) ) ; } Ok ( ( ) ) }
remove_arch removes an architecture from the filter.
remove_arch removes an architecture from the filter .
&mut self
arch
ScmpArch