Enum ArchiveEntryKind
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§
§impl Clone for ArchiveEntryKind
impl Clone for ArchiveEntryKind
§fn clone(&self) -> ArchiveEntryKind
fn clone(&self) -> ArchiveEntryKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ArchiveEntryKind
impl Debug for ArchiveEntryKind
§impl Default for ArchiveEntryKind
impl Default for ArchiveEntryKind
§fn default() -> ArchiveEntryKind
fn default() -> ArchiveEntryKind
Returns the “default value” for a type. Read more
§impl Display for ArchiveEntryKind
impl Display for ArchiveEntryKind
§impl Hash for ArchiveEntryKind
impl Hash for ArchiveEntryKind
§impl Ord for ArchiveEntryKind
impl Ord for ArchiveEntryKind
§fn cmp(&self, other: &ArchiveEntryKind) -> Ordering
fn cmp(&self, other: &ArchiveEntryKind) -> Ordering
1.21.0 · 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
§impl PartialEq for ArchiveEntryKind
impl PartialEq for ArchiveEntryKind
§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