pub enum SymlinkMode {
Preserve,
}Expand description
Copy or sync symlink handling.
Variants§
Preserve
Recreate safe source symlinks as symlinks.
Trait Implementations§
Source§impl Clone for SymlinkMode
impl Clone for SymlinkMode
Source§fn clone(&self) -> SymlinkMode
fn clone(&self) -> SymlinkMode
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 SymlinkMode
Source§impl Debug for SymlinkMode
impl Debug for SymlinkMode
Source§impl<'de> Deserialize<'de> for SymlinkMode
impl<'de> Deserialize<'de> for SymlinkMode
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
impl Eq for SymlinkMode
Source§impl PartialEq for SymlinkMode
impl PartialEq for SymlinkMode
Source§fn eq(&self, other: &SymlinkMode) -> bool
fn eq(&self, other: &SymlinkMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SymlinkMode
impl Serialize for SymlinkMode
impl StructuralPartialEq for SymlinkMode
Auto Trait Implementations§
impl Freeze for SymlinkMode
impl RefUnwindSafe for SymlinkMode
impl Send for SymlinkMode
impl Sync for SymlinkMode
impl Unpin for SymlinkMode
impl UnsafeUnpin for SymlinkMode
impl UnwindSafe for SymlinkMode
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