Crate atomicwrites
source ·Re-exports
pub use OverwriteBehavior::AllowOverwrite;pub use OverwriteBehavior::DisallowOverwrite;
Structs
- Create a file and write to it atomically, in a callback.
Enums
- Represents an error raised by
AtomicFile.write. - Whether to allow overwriting if the target file exists.
Functions
- Move
srctodst. An error will be returned ifdstexists. - Move
srctodst. Ifdstexists, it will be silently overwritten.