pub enum SymlinkExtractAction {
NoExtract,
ExtractAsFile,
ExtractAsFileUtf8,
ExtractRecursiveInFolder,
ExtractInFolder,
ExtractNoRestrictions,
}Expand description
Symlink extract action
Variants§
NoExtract
Omit symlinks.
ExtractAsFile
Convert symlinks to text file
ExtractAsFileUtf8
Convert symlinks to text file as utf8
ExtractRecursiveInFolder
Extract symlinks if the recursive target is in the destination folder (default on Unix and Windows, but not possible on other platforms).
ExtractInFolder
Extract symlinks if the direct target is in the destination folder (i.e. it can point to a pre-existing symlink that in turn points outside the folder).
ExtractNoRestrictions
Extract symlinks with no restrictions.
Trait Implementations§
Source§impl Clone for SymlinkExtractAction
impl Clone for SymlinkExtractAction
Source§fn clone(&self) -> SymlinkExtractAction
fn clone(&self) -> SymlinkExtractAction
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 SymlinkExtractAction
Source§impl Debug for SymlinkExtractAction
impl Debug for SymlinkExtractAction
Source§impl Default for SymlinkExtractAction
impl Default for SymlinkExtractAction
Source§fn default() -> SymlinkExtractAction
fn default() -> SymlinkExtractAction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SymlinkExtractAction
impl RefUnwindSafe for SymlinkExtractAction
impl Send for SymlinkExtractAction
impl Sync for SymlinkExtractAction
impl Unpin for SymlinkExtractAction
impl UnsafeUnpin for SymlinkExtractAction
impl UnwindSafe for SymlinkExtractAction
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