pub async fn process_file<P: AsRef<Path>, W: AsyncWrite + Unpin>(
        file: P,
        output: W,
    ) -> Result<(), Box<dyn Error>> {
        let source = tokio::fs::File::open(file).await?;
        Self::process(source, output).await
    }
/// Fully processes the input file, outputting the contents to the desired output
Fully processes the input file, outputting the contents to the desired output
Fully processes the input file outputting the contents to the desired output
pub async fn process_file<P: AsRef<Path>, W: AsyncWrite + Unpin>(
        file: P,
        output: W,
    ) -> Result<(), Box<dyn Error>> {
        let source = tokio::fs::File::open(file).await?;
        Self::process(source, output).await
    }
pub async fn process_file < P : AsRef < Path > , W : AsyncWrite + Unpin > ( file : P , output : W , ) -> Result < ( ) , Box < dyn Error > > { let source = tokio :: fs :: File :: open ( file ) . await ? ; Self :: process ( source , output ) . await }
Fully processes the input file, outputting the contents to the desired output
Fully processes the input file outputting the contents to the desired output
file
P
output
W