pub enum FileExistsBehaviour {
Halt,
Update,
Overwrite,
}Variants§
Halt
If the toml file already exists, the tool will stop.
Update
If the toml file already exists, it will be modified.
Overwrite
If the toml file already exists, it will be overwritten.
Trait Implementations§
Source§impl PartialEq for FileExistsBehaviour
impl PartialEq for FileExistsBehaviour
impl StructuralPartialEq for FileExistsBehaviour
Auto Trait Implementations§
impl Freeze for FileExistsBehaviour
impl RefUnwindSafe for FileExistsBehaviour
impl Send for FileExistsBehaviour
impl Sync for FileExistsBehaviour
impl Unpin for FileExistsBehaviour
impl UnwindSafe for FileExistsBehaviour
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more