Trait typestate_automata::TryWriteFile[][src]

pub trait TryWriteFile {
    fn try_write_file<P: AsRef<Path>>(self, path: P) -> Result<File>;
}
Expand description

Write to file operation.

Required methods

fn try_write_file<P: AsRef<Path>>(self, path: P) -> Result<File>[src]

Expand description

Try to write self to the file in path. This operation uses the Display representation for its output. If successful, returns the written File, otherwise, an std::io::Error is returned.

Loading content...

Implementors

Loading content...