Skip to main content

write_file

Function write_file 

Source
pub fn write_file<W: Write>(
    file: &BreadFile,
    out: W,
) -> Result<W, WriteFileError>
Expand description

Writes file as a .bread file to out, handing out back. When it fails, what it wrote to out is not a valid file.