#[non_exhaustive]pub enum EntryType {
File,
Directory,
Symlink,
Hardlink,
CharDevice,
BlockDevice,
Fifo,
Other(u8),
}Expand description
The kind of an archive entry.
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.
File
A regular file.
Directory
A directory.
Symlink
A symbolic link.
Hardlink
A hard link.
CharDevice
A character device.
BlockDevice
A block device.
Fifo
A FIFO.
Other(u8)
An unrecognized type flag.
Trait Implementations§
impl Copy for EntryType
impl Eq for EntryType
impl StructuralPartialEq for EntryType
Auto Trait Implementations§
impl Freeze for EntryType
impl RefUnwindSafe for EntryType
impl Send for EntryType
impl Sync for EntryType
impl Unpin for EntryType
impl UnsafeUnpin for EntryType
impl UnwindSafe for EntryType
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