pub enum EntryTarget {
Within(PathBuf),
ArchiveRoot,
Escaping,
}Expand description
Where an archive entry should land, relative to the destination.
Variants§
Within(PathBuf)
Write it here, relative to the destination directory.
ArchiveRoot
The archive’s own root (. or ./). GNU tar emits one as the first
entry of tar -C dir .; it names the destination itself and carries
nothing to write, so it is skipped rather than refused.
Escaping
Points outside the destination and must not be written.
Trait Implementations§
Source§impl Clone for EntryTarget
impl Clone for EntryTarget
Source§impl Debug for EntryTarget
impl Debug for EntryTarget
impl Eq for EntryTarget
Source§impl PartialEq for EntryTarget
impl PartialEq for EntryTarget
impl StructuralPartialEq for EntryTarget
Auto Trait Implementations§
impl Forget for EntryTarget
impl Freeze for EntryTarget
impl Move for EntryTarget
impl RefUnwindSafe for EntryTarget
impl Send for EntryTargetwhere
RawVecInner: Send,
impl Sync for EntryTargetwhere
RawVecInner: Sync,
impl Unpin for EntryTarget
impl UnsafeUnpin for EntryTarget
impl UnwindSafe for EntryTargetwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.