/// Removes the temporary file if it was created
Removes the temporary file if it was created
Removes the temporary file if it was created
fn cleanup(&self) -> io::Result<()> {
        match self {
            InputConf::StdIn(_) => Ok(()),
            InputConf::Named(_) => Ok(()),
            InputConf::Copied(_, target) => std::fs::remove_file(target),
        }
    }
fn cleanup ( & self ) -> io :: Result < ( ) > { match self { InputConf :: StdIn ( _ ) => Ok ( ( ) ) , InputConf :: Named ( _ ) => Ok ( ( ) ) , InputConf :: Copied ( _ , target ) => std :: fs :: remove_file ( target ) , } }
Removes the temporary file if it was created
Removes the temporary file if it was created
&self