pub fn export_pfc(&self, fd: File) -> Result<()> {
        let ret = unsafe { seccomp_export_pfc(self.ctx.as_ptr(), fd.as_raw_fd()) };
        if ret < 0 {
            return Err(SeccompError::new(Errno(ret)));
        }

        Ok(())
    }
/// export_pfc outputs PFC-formatted, human-readable dump of a filter context's
/// rules to a file.
///
/// Accepts file to write to (must be open for writing).
/// Returns an error if writing to the file fails.
export_pfc outputs PFC-formatted, human-readable dump of a filter context's
rules to a file.

Accepts file to write to (must be open for writing).
Returns an error if writing to the file fails.
export_pfc outputs PFC - formatted human - readable dump of a filter context ' s rules to a file . Accepts file to write to ( must be open for writing ) . Returns an error if writing to the file fails .
pub fn export_pfc(&self, fd: File) -> Result<()> {
        let ret = unsafe { seccomp_export_pfc(self.ctx.as_ptr(), fd.as_raw_fd()) };
        if ret < 0 {
            return Err(SeccompError::new(Errno(ret)));
        }
        Ok(())
    }
pub fn export_pfc ( & self , fd : File ) -> Result < ( ) > { let ret = unsafe { seccomp_export_pfc ( self . ctx . as_ptr ( ) , fd . as_raw_fd ( ) ) } ; if ret < 0 { return Err ( SeccompError :: new ( Errno ( ret ) ) ) ; } Ok ( ( ) ) }
export_pfc outputs PFC-formatted, human-readable dump of a filter context's
rules to a file.
export_pfc outputs PFC - formatted human - readable dump of a filter context ' s rules to a file .
&self
fd
File