pub enum UstarKind {
Regular,
HardLink,
SymbolicLink,
CharacterDevice,
BlockDevice,
Directory,
Fifo,
Contiguous,
}Expand description
A supported ordinary ustar member type.
These are shared across both pax and GNU tar streams.
Variants§
Regular
A regular file ('0' or NUL).
HardLink
A hard link ('1').
SymbolicLink
A symbolic link ('2').
CharacterDevice
A character device ('3').
BlockDevice
A block device ('4').
Directory
A directory ('5').
Fifo
A FIFO ('6').
Contiguous
A contiguous file ('7').
Trait Implementations§
impl Copy for UstarKind
impl Eq for UstarKind
impl StructuralPartialEq for UstarKind
Auto Trait Implementations§
impl Freeze for UstarKind
impl RefUnwindSafe for UstarKind
impl Send for UstarKind
impl Sync for UstarKind
impl Unpin for UstarKind
impl UnsafeUnpin for UstarKind
impl UnwindSafe for UstarKind
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