pub enum ArchiveEntryKind {
File,
Directory,
Symlink,
Hardlink,
Device,
Fifo,
Unknown,
}Expand description
Generic archive entry kinds.
Variants§
File
Regular file entry.
Directory
Directory entry.
Symlink
Symbolic link entry.
Hardlink
Hard link entry.
Device
Device entry.
Fifo
FIFO entry.
Unknown
Unknown or intentionally unspecified entry kind.
Implementations§
Trait Implementations§
Source§impl Clone for ArchiveEntryKind
impl Clone for ArchiveEntryKind
Source§fn clone(&self) -> ArchiveEntryKind
fn clone(&self) -> ArchiveEntryKind
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 ArchiveEntryKind
impl Debug for ArchiveEntryKind
Source§impl Default for ArchiveEntryKind
impl Default for ArchiveEntryKind
Source§fn default() -> ArchiveEntryKind
fn default() -> ArchiveEntryKind
Returns the “default value” for a type. Read more
Source§impl Display for ArchiveEntryKind
impl Display for ArchiveEntryKind
Source§impl Hash for ArchiveEntryKind
impl Hash for ArchiveEntryKind
Source§impl Ord for ArchiveEntryKind
impl Ord for ArchiveEntryKind
Source§fn cmp(&self, other: &ArchiveEntryKind) -> Ordering
fn cmp(&self, other: &ArchiveEntryKind) -> Ordering
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
Source§impl PartialEq for ArchiveEntryKind
impl PartialEq for ArchiveEntryKind
Source§fn eq(&self, other: &ArchiveEntryKind) -> bool
fn eq(&self, other: &ArchiveEntryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ArchiveEntryKind
impl PartialOrd for ArchiveEntryKind
impl Copy for ArchiveEntryKind
impl Eq for ArchiveEntryKind
impl StructuralPartialEq for ArchiveEntryKind
Auto Trait Implementations§
impl Freeze for ArchiveEntryKind
impl RefUnwindSafe for ArchiveEntryKind
impl Send for ArchiveEntryKind
impl Sync for ArchiveEntryKind
impl Unpin for ArchiveEntryKind
impl UnsafeUnpin for ArchiveEntryKind
impl UnwindSafe for ArchiveEntryKind
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