Enum dsync_hasezoey::FileMode
source · pub enum FileMode {
Overwrite,
NewFile,
None,
}
Variants§
Overwrite
Overwrite the file path, as long as a dsync signature is present
NewFile
Create a “.dsyncnew” file if changed
None
Do nothing for the file
Trait Implementations§
source§impl PartialEq<FileMode> for FileMode
impl PartialEq<FileMode> for FileMode
impl Eq for FileMode
impl StructuralEq for FileMode
impl StructuralPartialEq for FileMode
Auto Trait Implementations§
impl RefUnwindSafe for FileMode
impl Send for FileMode
impl Sync for FileMode
impl Unpin for FileMode
impl UnwindSafe for FileMode
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