pub enum DestinationRefusal {
SymlinkEscape,
FileBlocksDirectory(String),
NotARegularFile,
}Expand description
Why a destination cannot be touched.
Variants§
SymlinkEscape
A symlink on the path would resolve the write outside the target.
FileBlocksDirectory(String)
A non-directory sits where a directory is needed.
NotARegularFile
The destination exists and is not a regular file.
Trait Implementations§
Source§impl Clone for DestinationRefusal
impl Clone for DestinationRefusal
Source§fn clone(&self) -> DestinationRefusal
fn clone(&self) -> DestinationRefusal
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 moreSource§impl Debug for DestinationRefusal
impl Debug for DestinationRefusal
Source§impl Display for DestinationRefusal
impl Display for DestinationRefusal
impl Eq for DestinationRefusal
Source§impl PartialEq for DestinationRefusal
impl PartialEq for DestinationRefusal
impl StructuralPartialEq for DestinationRefusal
Auto Trait Implementations§
impl Freeze for DestinationRefusal
impl RefUnwindSafe for DestinationRefusal
impl Send for DestinationRefusal
impl Sync for DestinationRefusal
impl Unpin for DestinationRefusal
impl UnsafeUnpin for DestinationRefusal
impl UnwindSafe for DestinationRefusal
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.