#[non_exhaustive]pub enum SkipKind {
Duplicate,
ExtensionNotAllowed,
Excluded,
Hidden,
OverMaxFileSize,
SymlinkUnsupported,
Unreadable,
}Expand description
Why an entry was left out of an extraction or creation.
The string form is stable and shared by every front end (for example as
a --json key).
§Examples
use exarch_core::SkipKind;
assert_eq!(SkipKind::Duplicate.as_str(), "duplicate");
assert!(SkipKind::ALL.contains(&SkipKind::Excluded));Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Duplicate
A pre-existing destination entry kept under the skip-duplicates policy
ExtensionNotAllowed
A file refused by the extension allowlist
Excluded
An entry matched by a creation exclude pattern
Hidden
A hidden entry left out by a creation configuration
OverMaxFileSize
A file larger than the creation file size limit
SymlinkUnsupported
A symlink that cannot be stored (not followed, or unsupported here)
Unreadable
An entry that could not be read
Implementations§
Trait Implementations§
Source§impl ClosedEnum for SkipKind
impl ClosedEnum for SkipKind
impl Copy for SkipKind
impl Eq for SkipKind
Source§impl Ord for SkipKind
impl Ord for SkipKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SkipKind
impl PartialOrd for SkipKind
impl StructuralPartialEq for SkipKind
Auto Trait Implementations§
impl Freeze for SkipKind
impl RefUnwindSafe for SkipKind
impl Send for SkipKind
impl Sync for SkipKind
impl Unpin for SkipKind
impl UnsafeUnpin for SkipKind
impl UnwindSafe for SkipKind
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.