pub fn merge(&mut self, src: Self) -> Result<()> {
        let ret = unsafe { seccomp_merge(self.ctx.as_ptr(), src.ctx.as_ptr()) };
        if ret != 0 {
            return Err(SeccompError::new(Errno(ret)));
        }

        // The src filter is already released.
        std::mem::forget(src);

        Ok(())
    }
/// merge merges two filters.
/// In order to merge two seccomp filters, both filters must have the same
/// attribute values and no overlapping architectures.
/// If successful, the src seccomp filter is released and all internal memory
/// associated with the filter is freed.
///
/// Accepts a seccomp filter in src that will be merged into the filter this is
/// called on.
/// Returns an error if merging the filters failed.
merge merges two filters.
In order to merge two seccomp filters, both filters must have the same
attribute values and no overlapping architectures.
If successful, the src seccomp filter is released and all internal memory
associated with the filter is freed.

Accepts a seccomp filter in src that will be merged into the filter this is
called on.
Returns an error if merging the filters failed.
merge merges two filters . In order to merge two seccomp filters both filters must have the same attribute values and no overlapping architectures . If successful the src seccomp filter is released and all internal memory associated with the filter is freed . Accepts a seccomp filter in src that will be merged into the filter this is called on . Returns an error if merging the filters failed .
pub fn merge(&mut self, src: Self) -> Result<()> {
        let ret = unsafe { seccomp_merge(self.ctx.as_ptr(), src.ctx.as_ptr()) };
        if ret != 0 {
            return Err(SeccompError::new(Errno(ret)));
        }
        // The src filter is already released.
        std::mem::forget(src);
        Ok(())
    }
pub fn merge ( & mut self , src : Self ) -> Result < ( ) > { let ret = unsafe { seccomp_merge ( self . ctx . as_ptr ( ) , src . ctx . as_ptr ( ) ) } ; if ret != 0 { return Err ( SeccompError :: new ( Errno ( ret ) ) ) ; } // The src filter is already released. std :: mem :: forget ( src ) ; Ok ( ( ) ) }
merge merges two filters.
merge merges two filters .
&mut self
src
Self