bytes_to_temp_file

Function bytes_to_temp_file 

Source
pub fn bytes_to_temp_file(bytes: &[u8]) -> Result<NamedTempFile>
Expand description

Convenience function that creates a temporary file from bytes. Used by the example.