pub enum SyncMethod {
Copy,
Symlink,
}Expand description
Syncing methods.
Variants§
Copy
Instructs syncing module to directly copy each item from source to target.
Symlink
Instructs syncing module to first copy iach item from source to its staging directory, then symlink staged items from their staging directory to target.
Trait Implementations§
Source§impl Clone for SyncMethod
impl Clone for SyncMethod
Source§fn clone(&self) -> SyncMethod
fn clone(&self) -> SyncMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyncMethod
impl Debug for SyncMethod
Source§impl Default for SyncMethod
impl Default for SyncMethod
Source§impl<'de> Deserialize<'de> for SyncMethod
impl<'de> Deserialize<'de> for SyncMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SyncMethod
impl PartialEq for SyncMethod
impl Copy for SyncMethod
impl StructuralPartialEq for SyncMethod
Auto Trait Implementations§
impl Freeze for SyncMethod
impl RefUnwindSafe for SyncMethod
impl Send for SyncMethod
impl Sync for SyncMethod
impl Unpin for SyncMethod
impl UnwindSafe for SyncMethod
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