pub trait CompilationTarget {
    // Required methods
    fn write_backup(&self) -> Result<()>;
    fn write(&self, module: &Module) -> Result<()>;
}

Required Methods§

source

fn write_backup(&self) -> Result<()>

Create a backup of the spreadsheet, at the given target (for most this is making a copy of a file, but different for Google Sheets

§Errors
  • OS-level I/O errors
source

fn write(&self, module: &Module) -> Result<()>

Write the compiled Module to the target.

§Errors
  • OS-level I/O errors

Implementors§