pub fn new(filename: &str) -> Result<Self> {
        let tmp = Self {
            filename: filename.to_owned(),
            tmpfile:  NamedTempFile::new()?,
        };

        Ok(tmp)
    }
// Make a new TmpFile for filename
Make a new TmpFile for filename
Make a new TmpFile for filename
pub fn new(filename: &str) -> Result<Self> {
        let tmp = Self {
            filename: filename.to_owned(),
            tmpfile:  NamedTempFile::new()?,
        };
        Ok(tmp)
    }
pub fn new ( filename : & str ) -> Result < Self > { let tmp = Self { filename : filename . to_owned ( ) , tmpfile : NamedTempFile :: new ( ) ? , } ; Ok ( tmp ) }
Make a new TmpFile for filename
Make a new TmpFile for filename
filename
&str
filename
&str