pub enum FileOperationKind {
Copy,
Symlink,
Sync,
}Expand description
File operation kind.
Variants§
Copy
Copy source content to the target.
Symlink
Create a target symlink to the source.
Sync
Reconcile target content with source content.
Implementations§
Trait Implementations§
Source§impl Clone for FileOperationKind
impl Clone for FileOperationKind
Source§fn clone(&self) -> FileOperationKind
fn clone(&self) -> FileOperationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FileOperationKind
Source§impl Debug for FileOperationKind
impl Debug for FileOperationKind
Source§impl<'de> Deserialize<'de> for FileOperationKind
impl<'de> Deserialize<'de> for FileOperationKind
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 Display for FileOperationKind
impl Display for FileOperationKind
impl Eq for FileOperationKind
Source§impl PartialEq for FileOperationKind
impl PartialEq for FileOperationKind
Source§fn eq(&self, other: &FileOperationKind) -> bool
fn eq(&self, other: &FileOperationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileOperationKind
impl Serialize for FileOperationKind
impl StructuralPartialEq for FileOperationKind
Auto Trait Implementations§
impl Freeze for FileOperationKind
impl RefUnwindSafe for FileOperationKind
impl Send for FileOperationKind
impl Sync for FileOperationKind
impl Unpin for FileOperationKind
impl UnsafeUnpin for FileOperationKind
impl UnwindSafe for FileOperationKind
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