pub enum TarEntryType {
Regular,
Directory,
Symlink,
Hardlink,
BlockDevice,
CharacterDevice,
Fifo,
GlobalExtendedHeader,
ExtendedHeader,
Unknown,
}Expand description
Tar entry type labels.
Variants§
Regular
Regular file entry.
Directory
Directory entry.
Symlink
Symbolic link entry.
Hardlink
Hard link entry.
BlockDevice
Block device entry.
CharacterDevice
Character device entry.
Fifo
FIFO entry.
GlobalExtendedHeader
Global extended header entry.
ExtendedHeader
Extended header entry.
Unknown
Unknown or unsupported tar entry type.
Implementations§
Source§impl TarEntryType
impl TarEntryType
Trait Implementations§
Source§impl Clone for TarEntryType
impl Clone for TarEntryType
Source§fn clone(&self) -> TarEntryType
fn clone(&self) -> TarEntryType
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 TarEntryType
impl Debug for TarEntryType
Source§impl Default for TarEntryType
impl Default for TarEntryType
Source§fn default() -> TarEntryType
fn default() -> TarEntryType
Returns the “default value” for a type. Read more
Source§impl Display for TarEntryType
impl Display for TarEntryType
Source§impl Hash for TarEntryType
impl Hash for TarEntryType
Source§impl Ord for TarEntryType
impl Ord for TarEntryType
Source§fn cmp(&self, other: &TarEntryType) -> Ordering
fn cmp(&self, other: &TarEntryType) -> 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 TarEntryType
impl PartialEq for TarEntryType
Source§fn eq(&self, other: &TarEntryType) -> bool
fn eq(&self, other: &TarEntryType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TarEntryType
impl PartialOrd for TarEntryType
impl Copy for TarEntryType
impl Eq for TarEntryType
impl StructuralPartialEq for TarEntryType
Auto Trait Implementations§
impl Freeze for TarEntryType
impl RefUnwindSafe for TarEntryType
impl Send for TarEntryType
impl Sync for TarEntryType
impl Unpin for TarEntryType
impl UnsafeUnpin for TarEntryType
impl UnwindSafe for TarEntryType
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