pub enum SymlinkPolicy {
Preserve,
Skip,
Reject,
}Expand description
Controls how symbolic-link members are handled during extraction.
Variants§
Preserve
Preserve symbolic-link members as native filesystem links.
Skip
Ignore symbolic-link members without changing the filesystem.
Reject
Reject archives containing symbolic-link members.
Trait Implementations§
Source§impl Clone for SymlinkPolicy
impl Clone for SymlinkPolicy
Source§fn clone(&self) -> SymlinkPolicy
fn clone(&self) -> SymlinkPolicy
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 SymlinkPolicy
Source§impl Debug for SymlinkPolicy
impl Debug for SymlinkPolicy
Source§impl Default for SymlinkPolicy
impl Default for SymlinkPolicy
Source§fn default() -> SymlinkPolicy
fn default() -> SymlinkPolicy
Returns the “default value” for a type. Read more
impl Eq for SymlinkPolicy
Source§impl PartialEq for SymlinkPolicy
impl PartialEq for SymlinkPolicy
Source§fn eq(&self, other: &SymlinkPolicy) -> bool
fn eq(&self, other: &SymlinkPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SymlinkPolicy
Auto Trait Implementations§
impl Freeze for SymlinkPolicy
impl RefUnwindSafe for SymlinkPolicy
impl Send for SymlinkPolicy
impl Sync for SymlinkPolicy
impl Unpin for SymlinkPolicy
impl UnsafeUnpin for SymlinkPolicy
impl UnwindSafe for SymlinkPolicy
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