#[non_exhaustive]pub enum PathEncoding {
Bytes,
Utf8,
Utf16Le,
}Expand description
Encoding of an archive-native path.
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.
Bytes
An uninterpreted byte sequence, as used by tar and Unix cpio.
Utf8
Valid UTF-8.
Utf16Le
UTF-16 little-endian code units stored as bytes.
Trait Implementations§
Source§impl Clone for PathEncoding
impl Clone for PathEncoding
impl Copy for PathEncoding
Source§impl Debug for PathEncoding
impl Debug for PathEncoding
impl Eq for PathEncoding
Source§impl Hash for PathEncoding
impl Hash for PathEncoding
Source§impl PartialEq for PathEncoding
impl PartialEq for PathEncoding
impl StructuralPartialEq for PathEncoding
Auto Trait Implementations§
impl Freeze for PathEncoding
impl RefUnwindSafe for PathEncoding
impl Send for PathEncoding
impl Sync for PathEncoding
impl Unpin for PathEncoding
impl UnsafeUnpin for PathEncoding
impl UnwindSafe for PathEncoding
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