pub enum LinkMode {
Copy,
Symlink,
}Expand description
How Link records are materialised in the output tree.
Variants§
Copy
Copy the target file’s bytes to the link name (portable; the default).
Symlink
Create a relative symbolic link to the target (smaller; Unix-only semantics).
Implementations§
Trait Implementations§
impl Copy for LinkMode
impl Eq for LinkMode
Source§impl From<LinkModeArg> for LinkMode
impl From<LinkModeArg> for LinkMode
Source§fn from(a: LinkModeArg) -> Self
fn from(a: LinkModeArg) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for LinkMode
Auto Trait Implementations§
impl Freeze for LinkMode
impl RefUnwindSafe for LinkMode
impl Send for LinkMode
impl Sync for LinkMode
impl Unpin for LinkMode
impl UnsafeUnpin for LinkMode
impl UnwindSafe for LinkMode
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