Skip to main content

create

Function create 

Source
pub fn create(path: &Path) -> Result<File>
Expand description

Create or truncate a file for streaming writes.

ยงErrors

Returns a contextual error when the file cannot be created.