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
src
todst
. An error will be returned ifdst
exists. - Move
src
todst
. Ifdst
exists, it will be silently overwritten.